Package com.batch.android.push
Class GCMLegacyRegistrationProvider
- java.lang.Object
-
- com.batch.android.push.GCMAbstractRegistrationProvider
-
- com.batch.android.push.GCMLegacyRegistrationProvider
-
- All Implemented Interfaces:
PushRegistrationProvider
public class GCMLegacyRegistrationProvider extends GCMAbstractRegistrationProvider implements PushRegistrationProvider
-
-
Field Summary
-
Fields inherited from class com.batch.android.push.GCMAbstractRegistrationProvider
context, senderID
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.IntegergetGMSAvailability()java.lang.StringgetRegistration()Returns the registration if possible.java.lang.StringgetShortname()Returns the short name of the provider.-
Methods inherited from class com.batch.android.push.GCMAbstractRegistrationProvider
checkLibraryAvailability, checkServiceAvailability, getAdsIdentifierProvider, getSenderID
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.batch.android.PushRegistrationProvider
checkLibraryAvailability, checkServiceAvailability, getAdsIdentifierProvider, getSenderID
-
-
-
-
Method Detail
-
getShortname
public java.lang.String getShortname()
Description copied from interface:PushRegistrationProviderReturns the short name of the provider. For example: "FCM".- Specified by:
getShortnamein interfacePushRegistrationProvider
-
getGMSAvailability
protected java.lang.Integer getGMSAvailability()
- Specified by:
getGMSAvailabilityin classGCMAbstractRegistrationProvider
-
getRegistration
@Nullable public java.lang.String getRegistration()
Description copied from interface:PushRegistrationProviderReturns the registration if possible. Some providers might not have it right away. Return null in these cases.- Specified by:
getRegistrationin interfacePushRegistrationProvider
-
-