public final class
ApnsFcmOptions
extends Object
Represents the APNS-specific FCM options that can be included in an ApnsConfig
. Instances
of this class are thread-safe and immutable.
Nested Class Summary
class | ApnsFcmOptions.Builder |
Public Method Summary
static ApnsFcmOptions.Builder |
builder()
Creates a new
ApnsFcmOptions.Builder . |
static ApnsFcmOptions |
withAnalyticsLabel(String analyticsLabel)
Creates a new
ApnsFcmOptions object with the specified analytics label. |
Inherited Method Summary
Object |
clone()
|
boolean |
equals(Object arg0)
|
void |
finalize()
|
final Class<?> |
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String |
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
public static ApnsFcmOptions.Builder builder ()
Creates a new ApnsFcmOptions.Builder
.
Returns
- An
ApnsFcmOptions.Builder
instance.
public static ApnsFcmOptions withAnalyticsLabel (String analyticsLabel)
Creates a new ApnsFcmOptions
object with the specified analytics label.
Parameters
analyticsLabel | An analytics label |
---|
Returns
- An
ApnsFcmOptions
object with the analytics label set to the supplied value.