public async Task LoadURL(string url, LoadURLOptions urlOptions = null) { if (urlOptions == null) { await Invoke <object>("loadURL", url); } else { await Invoke <object>("loadURL", url, urlOptions); } }
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)); } }