# GamebaseNotificationOptions

open class GamebaseNotificationOptions : ValueObject

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

#### Since

Added 2.15.0.

## Types

Builder
Link copied to clipboard
open class Builder

## Properties

priority
Link copied to clipboard
val priority: Int
smallIconName
Link copied to clipboard
val smallIconName: String
soundFileName
Link copied to clipboard
val soundFileName: String

## Functions

from
Link copied to clipboard
open fun from(@Nullable jsonString: String): GamebaseNotificationOptions
Factory method to create VO instance.
fromJson
Link copied to clipboard
open fun <T> fromJson(@NonNull json: String, classOfT: Class<T>): T
open fun <T> fromJson(@NonNull json: String, type: Type): T
open fun <T> fromJson(@NonNull jsonObject: JSONObject, classOfT: Class<T>): T
isBadgeEnabled
Link copied to clipboard
open fun isBadgeEnabled(): Boolean
isForegroundEnabled
Link copied to clipboard
open fun isForegroundEnabled(): Boolean
newBuilder
Link copied to clipboard
open fun newBuilder(): GamebaseNotificationOptions.Builder
open fun newBuilder(@NonNull currentOptions: GamebaseNotificationOptions): GamebaseNotificationOptions.Builder
The factory method to create an instance of the builder to build GamebaseNotificationOptions.
toJsonString
Link copied to clipboard
open fun toJsonString(): String
toPrettyJsonString
Link copied to clipboard
open fun toPrettyJsonString(): String
toString
Link copied to clipboard
open fun toString(): String