Gamebase SDK for Unity 2.75.1 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

  configuration | The initial settings of image notices.
  closeCallback | Called when the browser closed.
  eventCallback | Click 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;
Gamebase.ImageNotice.ShowImageNotices(
configuration,
(error) =>
{
// Called when the entire imageNotice is closed.
},
(scheme, error) =>
{
// Called when custom event occurred.
});
}
Toast.Gamebase.Gamebase.ImageNotice.ShowImageNotices
static void ShowImageNotices(GamebaseRequest.ImageNotice.Configuration configuration, GamebaseCallback.ErrorDelegate closeCallback, GamebaseCallback.GamebaseDelegate< string > eventCallback=null)
Show image notice web pages.
Definition: Gamebase.cs:3861
Toast.Gamebase.Gamebase.ImageNotice
This class provides functionality related to image notices.
Definition: Gamebase.cs:3828
Toast.Gamebase.Gamebase
The Gamebase class is core of Gamebase service.
Definition: Gamebase.cs:11