-
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 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
-
asyncGenerateDevice
abstract Unit asyncGenerateDevice(Function1<Device, Unit> onDeviceGenerated)
Asynchronously generates a Device and calls onDeviceGenerated callback once it's ready
-
-
-
-