public class MpnDeviceInfo extends Object
MetadataProvider.
 | Constructor and Description | 
|---|
MpnDeviceInfo(MpnPlatformType type,
             String applicationId,
             String deviceToken)
Used by Lightstreamer to provide a MpnDeviceInfo instance to the MPN-related methods. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)
Indicates whether some other object is "equal to" this one. 
 | 
String | 
getApplicationId()
Returns the application ID, also known as the package name or bundle ID on some platforms. 
 | 
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. 
 | 
String | 
toString()
Returns a string representation of the MpnDeviceInfo. 
 | 
public MpnDeviceInfo(@Nonnull MpnPlatformType type, @Nonnull String applicationId, @Nonnull 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.@Nonnull public final MpnPlatformType getType()
@Nonnull public final String getApplicationId()
@Nonnull public final String getDeviceToken()
@Nonnull public String toString()
Apple/com.lightstreamer.ios.stocklist/8fac[...]fe12
public boolean equals(@Nullable Object obj)
Copyright © 2021. All rights reserved.