-
- All Implemented Interfaces:
-
com.onesignal.OneSignalResultData
public final class LoginData implements OneSignalResultData
The payload returned by a successful login.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringonesignalIdprivate final StringexternalIdprivate final StringemailSubscriptionIdprivate final StringsmsSubscriptionId
-
Method Summary
Modifier and Type Method Description final StringgetOnesignalId()The OneSignal ID the external ID is now associated with. final StringgetExternalId()The external ID that was logged in. final StringgetEmailSubscriptionId()ID of the email subscription for the address passed in, if the backend returned one. final StringgetSmsSubscriptionId()ID of the SMS subscription for the number passed in, if the backend returned one. Map<String, Object>toMap()Projects this payload onto the cross-SDK wire shape consumed by the wrapper bridges. StringtoString()-
-
Method Detail
-
getOnesignalId
final String getOnesignalId()
The OneSignal ID the external ID is now associated with.
-
getExternalId
final String getExternalId()
The external ID that was logged in.
-
getEmailSubscriptionId
final String getEmailSubscriptionId()
ID of the email subscription for the address passed in, if the backend returned one.
-
getSmsSubscriptionId
final String getSmsSubscriptionId()
ID of the SMS subscription for the number passed in, if the backend returned one.
-
toMap
Map<String, Object> toMap()
Projects this payload onto the cross-SDK wire shape consumed by the wrapper bridges.
-
-
-
-