createDevice

abstract suspend fun createDevice(pushDevice: PushDevice): Result<Device>

Create a device that will be used to receive push notifications.

Return

Result containing the Device.

Parameters

pushDevice

The PushDevice obtained from the selected push provider.