Methods
| Method |
Description |
|
com.batch.android.getFetcher(String,String)
|
Get an inbox fetcher for the specified user identifier. |
|
com.batch.android.setGCMSenderId(String)
|
Set the FCM/GCM Sender Id. |
|
com.batch.android.getEditor()
|
Get the user data editor. |
|
com.batch.android.trackEvent(String,String,JSONObject)
|
Track an event.You can call this method from any thread. |
|
com.batch.android.getUserProfile()
|
Get the current user profile. |
|
com.batch.android.shouldUseGoogleInstanceID()
|
Can Batch use the PlayServices Instance ID API (if available), or fallback to classic GCM. |
|
com.batch.android.shouldAutoRegisterForPush()
|
Should Batch automatically register to push notificaitonsThis method is not supported anymore: Batch will always register for push. |
|
com.batch.android.isRunningInDevMode()
|
Check if Batch is running in dev modeNB : if you call this method before setConfig, you'll always have the default value : false |
|
com.batch.android.setCanUseAndroidID(boolean)
|
Method kept for compatibility: Batch will not use the Android ID in any situation |
|
com.batch.android.setCanUseInstanceID(boolean)
|
Set if Batch can use the Google Play Services Instance ID api (default = true)Setting this to false will make Batch fallback on the classic (and deprecated) GCM API. |
|
com.batch.android.setShouldAutomaticallyRegisterPush(boolean)
|
Set if Batch should automatically register for pushes using FCM or GCM. |
|
com.batch.android.isDeleted()
|
Flag indicating whether this notification is deleted or not. |
|
com.batch.android.getPriority()
|
Get the notification priorityThis integer value is the same one as priorities defined in androidx.core.app.NotificationCompat |
|
com.batch.android.setLanguage(String)
|
Set the language of this user. |
|
com.batch.android.getLanguage()
|
Get the current language of this user. |
|
com.batch.android.setRegion(String)
|
Set the region (country) of this user. |
|
com.batch.android.getRegion()
|
Get the current region of this user. |
|
com.batch.android.setCustomID(String)
|
Set the custom user identifier to Batch. |
|
com.batch.android.getCustomID()
|
Return the custom ID of the user if you specified any using the setCustomID |
|
com.batch.android.messaging.fragment.dismiss()
|
Dismiss. |
|
com.batch.android.messaging.fragment.dismissAllowingStateLoss()
|
Dismiss. |
|
com.batch.android.messaging.fragment.dismiss()
|
Dismiss. |
|
com.batch.android.messaging.fragment.dismissAllowingStateLoss()
|
Dismiss. |
|
com.batch.android.messaging.fragment.dismiss()
|
Dismiss. |
|
com.batch.android.messaging.fragment.dismissAllowingStateLoss()
|
Dismiss. |
|
com.batch.android.messaging.fragment.dismiss()
|
Dismiss. |
|
com.batch.android.messaging.fragment.dismissAllowingStateLoss()
|
Dismiss. |
|
com.batch.android.messaging.view.setPadding(int,int,int,int)
|
Set the paddingUse setPadding |
|
com.batch.android.messaging.view.setPadding(int,int,int,int)
|
Set the paddingUse setPadding |
|
com.batch.android.messaging.view.roundimage.setBackgroundDrawable(Drawable)
|
|
|
com.batch.android.messaging.gif.getLoopCount()
|
Gets the "Netscape" loop count, if any. |
|
com.batch.android.messaging.gif.getLoopCount()
|
Gets the "Netscape" loop count, if any. |