Gamebase SDK for Android  2.39.0
NHN Cloud Gamebase Platform
GamebaseNotificationOptions Class Reference

Parameter class for the change push options like 'enableForeground'. More...

Inheritance diagram for GamebaseNotificationOptions:
Inheritance graph
Collaboration diagram for GamebaseNotificationOptions:
Collaboration graph

Classes

class  Builder
 

Public Member Functions

boolean isForegroundEnabled ()
 
boolean isBadgeEnabled ()
 
int getPriority ()
 
String getSmallIconName ()
 
String getSoundFileName ()
 
String toJsonString ()
 
String toPrettyJsonString ()
 
String toString ()
 

Static Public Member Functions

static GamebaseNotificationOptions from (@Nullable final String jsonString)
 Factory method to create VO instance. More...
 
static Builder newBuilder ()
 The factory method to create an instance of the builder to build GamebaseNotificationOptions. More...
 
static Builder newBuilder (@NonNull final GamebaseNotificationOptions currentOptions)
 The factory method to create an instance of the builder to build GamebaseNotificationOptions. More...
 
static< T > T fromJson (@NonNull String json, Class< T > classOfT)
 
static< T > T fromJson (@NonNull JSONObject jsonObject, Class< T > classOfT)
 
static< T > T fromJson (@NonNull String json, Type type)
 

Detailed Description

Parameter class for the change push options like 'enableForeground'.

Since
Added 2.15.0.

Member Function Documentation

◆ from()

static GamebaseNotificationOptions from ( @Nullable final String  jsonString)
static

Factory method to create VO instance.

Parameters
jsonStringExtracts the VO class instance from this JSON String.
Returns
VO instance
Here is the call graph for this function:

◆ fromJson() [1/3]

static <T> T fromJson ( @NonNull JSONObject  jsonObject,
Class< T >  classOfT 
)
staticinherited
Here is the call graph for this function:

◆ fromJson() [2/3]

static <T> T fromJson ( @NonNull String  json,
Class< T >  classOfT 
)
staticinherited
Here is the caller graph for this function:

◆ fromJson() [3/3]

static <T> T fromJson ( @NonNull String  json,
Type  type 
)
staticinherited

◆ getPriority()

int getPriority ( )

◆ getSmallIconName()

String getSmallIconName ( )

◆ getSoundFileName()

String getSoundFileName ( )

◆ isBadgeEnabled()

boolean isBadgeEnabled ( )

◆ isForegroundEnabled()

boolean isForegroundEnabled ( )

◆ newBuilder() [1/2]

static Builder newBuilder ( )
static

The factory method to create an instance of the builder to build GamebaseNotificationOptions.

Since
Added 2.15.0.
Returns
an instance of the builder to build GamebaseNotificationOptions.

◆ newBuilder() [2/2]

static Builder newBuilder ( @NonNull final GamebaseNotificationOptions  currentOptions)
static

The factory method to create an instance of the builder to build GamebaseNotificationOptions.

Since
Added 2.15.0.
Parameters
currentOptionsdefault options
Returns
an instance of the builder to build GamebaseNotificationOptions.
Here is the call graph for this function:

◆ toJsonString()

String toJsonString ( )
inherited
Here is the caller graph for this function:

◆ toPrettyJsonString()

String toPrettyJsonString ( )
inherited

◆ toString()

String toString ( )
inherited

Reimplemented in TransferAccountRenewConfiguration.

Here is the call graph for this function: