Gamebase SDK for Android
2.41.1
NHN Cloud Gamebase Platform
|
Public Member Functions | |
ImageNoticeConfiguration | build () |
This method creates an instance of ImageNoticeConfiguration. More... | |
Builder | setBackgroundColor (int backgroundColor) |
Change the dimmed background color. More... | |
Builder | setBackgroundColor (String backgroundColor) |
Change the dimmed background color. More... | |
Builder | setTimeout (long timeoutMs) |
Set the timeout of each image notice popup. More... | |
Builder | enableAutoCloseByCustomScheme (boolean autoCloseByCustomScheme) |
Change whether image notification is automatically terminated when the custom scheme is activated. More... | |
ImageNoticeConfiguration build | ( | ) |
This method creates an instance of ImageNoticeConfiguration.
Builder enableAutoCloseByCustomScheme | ( | boolean | autoCloseByCustomScheme | ) |
Change whether image notification is automatically terminated when the custom scheme is activated.
On platforms like Unity, the event doesn't fire while the popup is floating. Therefore, in order to process the event, if a custom click event occurs, all pop-ups must be closed. The default value is true.
autoCloseByCustomScheme | close image notice when custom event execution is required. |
Builder setBackgroundColor | ( | int | backgroundColor | ) |
Change the dimmed background color.
The default value is translucent gray.
backgroundColor | an integer value of ARGB color. See android.graphics.Color#toArgb() |
Builder setBackgroundColor | ( | String | backgroundColor | ) |
Change the dimmed background color.
The default value is translucent gray.
backgroundColor | an string value of ARGB color like '#FF804400'. See android.graphics.Color#parseColor(String) |
Builder setTimeout | ( | long | timeoutMs | ) |
Set the timeout of each image notice popup.
When an http error such as 404 occurs, the error condition is not known in the web view, and it waits indefinitely. To prevent this, the popup is automatically terminated after the timeout period. The default value is 5000.(milliseconds)
timeoutMs | waiting time(milliseconds) for the web view response. |