public class MpnDeviceInfo
extends java.lang.Object
MetadataProvider
.
Constructor and Description |
---|
MpnDeviceInfo(MpnPlatformType type,
java.lang.String applicationId,
java.lang.String deviceToken)
Used by Lightstreamer Kernel to create an MpnDeviceInfo instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.
|
java.lang.String |
getApplicationId()
Returns the application ID, also known as the package name or bundle ID on some platforms.
|
java.lang.String |
getDeviceToken()
Returns the token of the device, also know as the registration ID on some platforms.
|
MpnPlatformType |
getType()
Returns the platform type of the device.
|
int |
hashCode()
Returns a hash code value for the object.
|
java.lang.String |
toString()
Returns a string representation of the MpnDeviceInfo.
|
public MpnDeviceInfo(MpnPlatformType type, java.lang.String applicationId, java.lang.String deviceToken)
type
- platform type of the device.applicationId
- the application ID, also known as the package name or bundle ID on some platforms.deviceToken
- the token of the device, also know as the registration ID on some platforms.public MpnPlatformType getType()
public java.lang.String getApplicationId()
public java.lang.String getDeviceToken()
public java.lang.String toString()
Apple/com.lightstreamer.ios.stocklist/8fac[...]fe12
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object