public interface DeviceRegistration
| Modifier and Type | Method and Description |
|---|---|
DeviceRegistration |
applicationId(String applicationId)
The id of the application that this device is registered for.
|
DeviceRegistration |
deviceOS(String deviceOS)
The OS of the device.
|
DeviceRegistration |
disabled()
Register a disabled device.
|
Device |
register()
Perform the registration of the device.
|
DeviceRegistration |
tenantId(String tenantId)
The id of the tenant in which this device is registered in.
|
DeviceRegistration |
token(String token)
The token for the new device.
|
DeviceRegistration |
tokenEncoding(String tokenEncoding)
The encoding of the token.
|
DeviceRegistration |
userId(String userId)
The id of the user that this device is registered to.
|
DeviceRegistration token(String token)
token - the tokenDeviceRegistration tokenEncoding(String tokenEncoding)
none.tokenEncoding - the encoding of the tokenDeviceTokenEncodingsDeviceRegistration disabled()
DeviceRegistration deviceOS(String deviceOS)
deviceOS - the OS deviceDeviceOSDeviceRegistration userId(String userId)
userId - the id of the userDeviceRegistration applicationId(String applicationId)
applicationId - the id of the applicationDeviceRegistration tenantId(String tenantId)
tenantId - the tenant idDevice register()
token(String) and deviceOS(String)
have been set.Copyright © 2019. All rights reserved.