-
- All Implemented Interfaces:
-
io.getstream.chat.android.client.notifications.handler.PushDeviceGenerator
public final class XiaomiPushDeviceGenerator implements PushDeviceGeneratorGenerator responsible for providing information needed to register Xiaomi push notifications provider.
-
-
Constructor Summary
Constructors Constructor Description XiaomiPushDeviceGenerator(Context context, String appId, String appKey)
-
Method Summary
Modifier and Type Method Description BooleanisValidForThisDevice(Context context)UnitasyncGenerateDevice(Function1<Device, Unit> onDeviceGenerated)-
-
Method Detail
-
isValidForThisDevice
Boolean isValidForThisDevice(Context context)
-
asyncGenerateDevice
Unit asyncGenerateDevice(Function1<Device, Unit> onDeviceGenerated)
-
-
-
-