예제 #1
0
 public async Task LoadURL(string url, LoadURLOptions urlOptions = null)
 {
     if (urlOptions == null)
     {
         await Invoke <object>("loadURL", url);
     }
     else
     {
         await Invoke <object>("loadURL", url, urlOptions);
     }
 }
예제 #2
0
 public async Task <object> LoadURL(string url, LoadURLOptions urlOptions = null)
 {
     if (urlOptions == null)
     {
         return(await Invoke <object>("loadURL", url));
     }
     else
     {
         return(await Invoke <object>("loadURL", url, urlOptions));
     }
 }