public class MpnDeviceInfo
extends java.lang.Object
| Constructor and Description |
|---|
MpnDeviceInfo(MpnPlatformType type,
java.lang.String applicationId,
java.lang.String deviceToken)
Used by Lightstreamer to provide a MpnDeviceInfo instance to the MPN-related methods.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getApplicationId()
Returns the application ID, also known as the bundle ID on some platforms.
|
java.lang.String |
getDeviceToken()
Returns the token of the device.
|
MpnPlatformType |
getType()
Returns the platform type of the device.
|
public MpnDeviceInfo(MpnPlatformType type, java.lang.String applicationId, java.lang.String deviceToken)
type - Platform type of the device.applicationId - the app ID, also known as the bundle ID on some platforms.deviceToken - the token of the device.public MpnPlatformType getType()
public java.lang.String getApplicationId()
public java.lang.String getDeviceToken()