File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
src/test/java/com/google/firebase/messaging Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 2
2
package com.google.firebase.messaging {
3
3
4
4
public class FirebaseMessaging {
5
- method @Deprecated public boolean deliveryMetricsExportToBigQueryEnabled();
5
+ method @NonNull public com.google.android.gms.tasks.Task<java.lang.Void> deleteToken();
6
+ method @NonNull public boolean deliveryMetricsExportToBigQueryEnabled();
6
7
method @NonNull public static com.google.firebase.messaging.FirebaseMessaging getInstance();
8
+ method @NonNull public com.google.android.gms.tasks.Task<java.lang.String> getToken();
7
9
method public boolean isAutoInitEnabled();
8
- method public boolean isDeliveryMetricsExportToBigQueryEnabled ();
10
+ method public boolean isNotificationDelegationEnabled ();
9
11
method public void send(@NonNull com.google.firebase.messaging.RemoteMessage);
10
12
method public void setAutoInitEnabled(boolean);
11
13
method public void setDeliveryMetricsExportToBigQuery(boolean);
14
+ method public com.google.android.gms.tasks.Task<java.lang.Void> setNotificationDelegationEnabled(boolean);
12
15
method @NonNull public com.google.android.gms.tasks.Task<java.lang.Void> subscribeToTopic(@NonNull String);
13
16
method @NonNull public com.google.android.gms.tasks.Task<java.lang.Void> unsubscribeFromTopic(@NonNull String);
14
- field public static final String INSTANCE_ID_SCOPE = "FCM";
17
+ field @Deprecated public static final String INSTANCE_ID_SCOPE = "FCM";
15
18
}
16
19
17
20
public class FirebaseMessagingService extends android.app.Service {
Original file line number Diff line number Diff line change 17
17
import static java .util .concurrent .TimeUnit .SECONDS ;
18
18
19
19
import android .content .Context ;
20
+
20
21
import androidx .annotation .GuardedBy ;
21
22
import androidx .test .core .app .ApplicationProvider ;
22
23
import com .google .firebase .messaging .testing .FakeScheduledExecutorService ;
You can’t perform that action at this time.
0 commit comments