public static enum BaseMessageParams.PushNotificationDeliveryOption extends java.lang.Enum<BaseMessageParams.PushNotificationDeliveryOption>
BaseMessageParams.setPushNotificationDeliveryOption(PushNotificationDeliveryOption)
If the option is DEFAULT, push message will work with the receiver's push settings.
SendBird.setDoNotDisturb(boolean, int, int, int, int, String, SendBird.SetDoNotDisturbHandler)
GroupChannel.setPushPreference(boolean, GroupChannel.GroupChannelSetPushPreferenceHandler)
If the option is SUPPRESS, push message will not be sent.Modifier and Type | Method and Description |
---|---|
static BaseMessageParams.PushNotificationDeliveryOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BaseMessageParams.PushNotificationDeliveryOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaseMessageParams.PushNotificationDeliveryOption DEFAULT
public static final BaseMessageParams.PushNotificationDeliveryOption SUPPRESS
public static BaseMessageParams.PushNotificationDeliveryOption[] values()
for (BaseMessageParams.PushNotificationDeliveryOption c : BaseMessageParams.PushNotificationDeliveryOption.values()) System.out.println(c);
public static BaseMessageParams.PushNotificationDeliveryOption 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.