shouldDisplayPush

open fun shouldDisplayPush(context: Context, intent: Intent): Boolean

Should the developer handle and display this push, or will Batch display it? Use this method to know if Batch will ignore this push, and that displaying it is your responsibility

Return

true if the push will not be processed by Batch and should be handled, false otherwise


open fun shouldDisplayPush(context: Context, remoteMessage: RemoteMessage): Boolean

Should the developer handle and display this push, or will Batch display it? Use this method to know if Batch will ignore this push, and that displaying it is your responsibility

Return

true if the push will not be processed by Batch and should be handled, false otherwise

Parameters

context

Android's context

remoteMessage

The Firebase message