Generator responsible for providing information needed to register the push notifications provider


Link copied to clipboard
abstract fun asyncGenerateDevice(onDeviceGenerated: (device: Device) -> Unit)

Asynchronously generates a Device and calls onDeviceGenerated callback once it's ready

Link copied to clipboard
abstract fun isValidForThisDevice(context: Context): Boolean

Checks if push notification provider is valid for this device

Link copied to clipboard

Called when this PushDeviceGenerator has been selected to be used.