public void SetExternalBrowserUrl(List <string> externalBrowserUrlList) { if (externalBrowserUrlList == null) { global::Debug.Log("NpWebViewController : externalBrowserUrlList is Null."); return; } NpWebViewAndroid.SetExternalBrowserUrl(externalBrowserUrlList); }
public void Open(string path, Dictionary <string, string> header, string param) { if (header == null) { header = new Dictionary <string, string>(); header.Add("Authorization", string.Empty); header.Add("x-guid", string.Empty); header.Add("x-uuid", string.Empty); header.Add("country-code", string.Empty); header.Add("x-appVer", string.Empty); header.Add("x-device", string.Empty); header.Add("x-osver", string.Empty); header.Add("x-ostype", string.Empty); } NpWebViewAndroid.Open(path, header, param, this.mGameObjectName); }
public void ReLoad() { NpWebViewAndroid.ReLoad(); }
public void ReSize(float x, float y, float width, float height) { NpWebViewAndroid.ReSize(x, y, width, height); }
public void Destroy() { NpWebViewAndroid.Destroy(); }
public void SetActive(bool active) { NpWebViewAndroid.SetActive(active); }
public void Close() { NpWebViewAndroid.Close(); }
public void SetHardwareAccelerated(bool enabled) { NpWebViewAndroid.SetHardwareAccelerated(enabled); }
public void ClearExternalBrowserUrl() { NpWebViewAndroid.ClearExternalBrowserUrl(); }
public void SetBackgroundColor(float r, float g, float b, float a) { NpWebViewAndroid.SetBackgroundColor(r, g, b, a); }
public bool IsAccess(NpWebViewAccessType type) { return(NpWebViewAndroid.IsAccess((int)type)); }
public void BackPage() { NpWebViewAndroid.BackPage(); }
public void NextPage() { NpWebViewAndroid.NextPage(); }