-
- All Implemented Interfaces:
public interface PushDeviceGeneratorGenerator responsible for providing information needed to register the push notifications provider
-
-
Method Summary
Modifier and Type Method Description abstract BooleanisValidForThisDevice(Context context)Checks if push notification provider is valid for this device abstract UnitonPushDeviceGeneratorSelected()Called when this PushDeviceGenerator has been selected to be used. abstract UnitasyncGenerateDevice(Function1<Device, Unit> onDeviceGenerated)Asynchronously generates a Device and calls onDeviceGenerated callback once it's ready -
-
Method Detail
-
isValidForThisDevice
abstract Boolean isValidForThisDevice(Context context)
Checks if push notification provider is valid for this device
-
onPushDeviceGeneratorSelected
abstract Unit onPushDeviceGeneratorSelected()
Called when this PushDeviceGenerator has been selected to be used.
-
asyncGenerateDevice
abstract Unit asyncGenerateDevice(Function1<Device, Unit> onDeviceGenerated)
Asynchronously generates a Device and calls onDeviceGenerated callback once it's ready
-
-
-
-