public final class AppleCriticalAlertOptions
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static double |
DEFAULT_VOLUME |
| Constructor and Description |
|---|
AppleCriticalAlertOptions()
Constructor that builds an instance of this class using default values
name= and volume=1.0
|
AppleCriticalAlertOptions(double volume)
Constructor that builds an instance of this class using default value
name= and given volume.
|
AppleCriticalAlertOptions(java.lang.String name)
Constructor that builds an instance of this class using default value
volume=1.0 and given name.
|
AppleCriticalAlertOptions(java.lang.String name,
double volume)
Constructor that builds an instance of this class using given name and volume.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getName() |
double |
getVolume() |
int |
hashCode() |
com.sendbird.android.shadow.com.google.gson.JsonObject |
toJson() |
java.lang.String |
toString() |
public static final double DEFAULT_VOLUME
public AppleCriticalAlertOptions()
public AppleCriticalAlertOptions(double volume)
volume - the volume for this option. Should be a double between 0.0 - 1.0.public AppleCriticalAlertOptions(java.lang.String name)
name - the name for this option.public AppleCriticalAlertOptions(java.lang.String name,
double volume)
name - the name for this option.volume - the volume for this option. Should be a double between 0.0 - 1.0.public java.lang.String getName()
public double getVolume()
public com.sendbird.android.shadow.com.google.gson.JsonObject toJson()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object 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.