Interface IBrowserControllable
Interface to control browser
Namespace: Pixiv.VroidSdk.Oauth
Assembly: Pixiv.VroidSdk.dll
Syntax
public interface IBrowserControllable
Methods
CleanUp()
Clean up
Declaration
void CleanUp()
Remarks
Carry out post processing such as clearing unmanaged resources Called automatically after getting authorization code
OpenBrowserWindow(String, Action<String>, Action<Exception>)
Open browser
Declaration
void OpenBrowserWindow(string url, Action<string> onRegisterCodeReceived, Action<Exception> onFailed)
Parameters
Type | Name | Description |
---|---|---|
String | url | URL to be opened in browser |
Action<String> | onRegisterCodeReceived | Callback when code is received |
Action<Exception> | onFailed | Callback on failure |