Parameter class for the initialization of the GamebaseToastPushable#registerToken(Activity, PushConfiguration, GamebaseNotificationOptions, Function1).
More...
◆ PushConfiguration() [1/2]
PushConfiguration |
( |
final boolean |
enabled, |
|
|
final boolean |
adAgree, |
|
|
final boolean |
adAgreeNight |
|
) |
| |
◆ PushConfiguration() [2/2]
PushConfiguration |
( |
final boolean |
enabled, |
|
|
final boolean |
adAgree, |
|
|
final boolean |
adAgreeNight, |
|
|
final String |
displayLanguageCode |
|
) |
| |
◆ from() [1/2]
Factory method to create VO instance.
- Parameters
-
container | Extracts the VO class instance from this data container. |
- Returns
- VO instance
- Since
- Added 2.20.0
◆ from() [2/2]
Factory method to create VO instance.
- Parameters
-
jsonString | Extracts the VO class instance from this json string. |
- Returns
- VO instance
- Since
- Added 2.20.0
◆ fromJson() [1/3]
static <T> T fromJson |
( |
@NonNull JSONObject |
jsonObject, |
|
|
Class< T > |
classOfT |
|
) |
| |
|
staticinherited |
◆ fromJson() [2/3]
static <T> T fromJson |
( |
@NonNull String |
json, |
|
|
Class< T > |
classOfT |
|
) |
| |
|
staticinherited |
◆ fromJson() [3/3]
static <T> T fromJson |
( |
@NonNull String |
json, |
|
|
Type |
type |
|
) |
| |
|
staticinherited |
◆ newBuilder() [1/2]
◆ newBuilder() [2/2]
static Builder newBuilder |
( |
final boolean |
enabled, |
|
|
final boolean |
adAgree, |
|
|
final boolean |
adAgreeNight |
|
) |
| |
|
static |
The factory method to create an instance of the builder to build PushConfiguration.
- Parameters
-
enabled | Enable push notification or not |
adAgree | Enable advertisement push notification of day or not |
adAgreeNight | Enable advertisement push notification of night or not |
- Returns
- an instance of the builder to build PushConfiguration.
- Since
- Added 2.20.0.
◆ toJsonString()
◆ toPrettyJsonString()
String toPrettyJsonString |
( |
| ) |
|
|
inherited |
◆ toString()
◆ adAgreement
◆ adAgreementNight
◆ displayLanguageCode
String displayLanguageCode |
◆ doNotRequestPermissionAutomatically
boolean doNotRequestPermissionAutomatically |
◆ pushEnabled