Xsolla::Core::IInAppBrowser
Public Events
| Name | |
|---|---|
| Action | OpenEvent() |
| Action< BrowserCloseInfo > | CloseEvent() |
| Action< string > | UrlChangeEvent() |
| Action< string, Action > | AlertDialogEvent() |
| Action< string, Action, Action > | ConfirmDialogEvent() |
Public Functions
| Name | |
|---|---|
| void | Open(string url) |
| void | Close(float delay =0f, bool isManually =false) |
| void | UpdateSize(int width, int height) |
| void | SetFullscreenMode(bool isFullscreen) |
| void | AddNavigationInterceptor(IInAppBrowserNavigationInterceptor interceptor) |
| void | RemoveNavigationInterceptor(IInAppBrowserNavigationInterceptor interceptor) |
| void | AddInitHandler(Action callback) |
| void | AddCloseHandler(Action callback) |
| void | AddUrlChangeHandler(Action< string > callback) |
Public Properties
| Name | |
|---|---|
| bool | IsOpened |
| bool | IsFullScreen |
Public Events Documentation
event OpenEvent
Copy
- C#
1Action OpenEvent()
event CloseEvent
Copy
- C#
1Action< BrowserCloseInfo > CloseEvent()
event UrlChangeEvent
Copy
- C#
1Action< string > UrlChangeEvent()
event AlertDialogEvent
Copy
- C#
1Action< string, Action > AlertDialogEvent()
event ConfirmDialogEvent
Copy
- C#
1Action< string, Action, Action > ConfirmDialogEvent()
Public Functions Documentation
function Open
Copy
- C#
1void Open(
2 string url
3)
function Close
Copy
- C#
1void Close(
2 float delay =0f,
3 bool isManually =false
4)
function UpdateSize
Copy
- C#
1void UpdateSize(
2 int width,
3 int height
4)
function SetFullscreenMode
Copy
- C#
1void SetFullscreenMode(
2 bool isFullscreen
3)
function AddNavigationInterceptor
Copy
- C#
1void AddNavigationInterceptor(
2 IInAppBrowserNavigationInterceptor interceptor
3)
function RemoveNavigationInterceptor
Copy
- C#
1void RemoveNavigationInterceptor(
2 IInAppBrowserNavigationInterceptor interceptor
3)
function AddInitHandler
Copy
- C#
1void AddInitHandler(
2 Action callback
3)
function AddCloseHandler
Copy
- C#
1void AddCloseHandler(
2 Action callback
3)
function AddUrlChangeHandler
Copy
- C#
1void AddUrlChangeHandler(
2 Action< string > callback
3)
Public Property Documentation
property IsOpened
bool IsOpened;
property IsFullScreen
bool IsFullScreen;
Was this article helpful?
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.Found a typo or other text error? Select the text and press Ctrl+Enter.