public static enum SendBird.PushTokenRegistrationStatus extends java.lang.Enum<SendBird.PushTokenRegistrationStatus>
PENDING
will be returned at callback handler. The registration is available after the connection is established
by calling SendBird.registerPushTokenForCurrentUser(String, RegisterPushTokenWithStatusHandler)
with SendBird.getPendingPushToken()
for GCM,
or SendBird.registerPushTokenForCurrentUser(String, boolean, RegisterPushTokenWithStatusHandler)
with SendBird.HMS.getPendingPushToken()
for HMS.Modifier and Type | Method and Description |
---|---|
static SendBird.PushTokenRegistrationStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SendBird.PushTokenRegistrationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SendBird.PushTokenRegistrationStatus SUCCESS
public static final SendBird.PushTokenRegistrationStatus PENDING
public static final SendBird.PushTokenRegistrationStatus ERROR
public static SendBird.PushTokenRegistrationStatus[] values()
for (SendBird.PushTokenRegistrationStatus c : SendBird.PushTokenRegistrationStatus.values()) System.out.println(c);
public static SendBird.PushTokenRegistrationStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null Copyright © 2021, Sendbird or its affiliates. All rights reserved.
Report a bug or request a feature
For further developer documentation, see Chat SDK Documentation. That documentation contains more detailed descriptions, conceptual overviews, definitions of terms, and code examples.