Gamebase SDK for Unity 2.69.0
Toast Gamebase Platform
Loading...
Searching...
No Matches

◆ ShowImageNotices()

static void ShowImageNotices ( GamebaseRequest::ImageNotice::Configuration configuration,
GamebaseCallback::ErrorDelegate closeCallback,
GamebaseCallback::GamebaseDelegate< string > eventCallback = null )
static

Show image notice web pages.


Since
Added 2.12.0.
Parameters
configurationThe initial settings of image notices.
closeCallbackCalled when the browser closed.
eventCallbackClick event with notice type 'Custom'.

Example Usage :

public void SampleShowImageNotices()
{
GamebaseRequest.ImageNotice.Configuration configuration = new GamebaseRequest.ImageNotice.Configuration();
configuration.colorR = 255;
configuration.colorG = 255;
configuration.colorB = 255;
configuration.colorA = 255;
configuration.timeout = 5000;
configuration,
(error) =>
{
// Called when the entire imageNotice is closed.
},
(scheme, error) =>
{
// Called when custom event occurred.
});
}
static void ShowImageNotices(GamebaseRequest.ImageNotice.Configuration configuration, GamebaseCallback.ErrorDelegate closeCallback, GamebaseCallback.GamebaseDelegate< string > eventCallback=null)
Show image notice web pages.
Definition Gamebase.cs:3782
This class provides functionality related to image notices.
Definition Gamebase.cs:3749
The Gamebase class is core of Gamebase service.
Definition Gamebase.cs:11