Beispiel #1
0
 public void SetExternalBrowserUrl(List <string> externalBrowserUrlList)
 {
     if (externalBrowserUrlList == null)
     {
         global::Debug.Log("NpWebViewController : externalBrowserUrlList is Null.");
         return;
     }
     NpWebViewAndroid.SetExternalBrowserUrl(externalBrowserUrlList);
 }
Beispiel #2
0
 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);
 }
Beispiel #3
0
 public void ReLoad()
 {
     NpWebViewAndroid.ReLoad();
 }
Beispiel #4
0
 public void ReSize(float x, float y, float width, float height)
 {
     NpWebViewAndroid.ReSize(x, y, width, height);
 }
Beispiel #5
0
 public void Destroy()
 {
     NpWebViewAndroid.Destroy();
 }
Beispiel #6
0
 public void SetActive(bool active)
 {
     NpWebViewAndroid.SetActive(active);
 }
Beispiel #7
0
 public void Close()
 {
     NpWebViewAndroid.Close();
 }
Beispiel #8
0
 public void SetHardwareAccelerated(bool enabled)
 {
     NpWebViewAndroid.SetHardwareAccelerated(enabled);
 }
Beispiel #9
0
 public void ClearExternalBrowserUrl()
 {
     NpWebViewAndroid.ClearExternalBrowserUrl();
 }
Beispiel #10
0
 public void SetBackgroundColor(float r, float g, float b, float a)
 {
     NpWebViewAndroid.SetBackgroundColor(r, g, b, a);
 }
Beispiel #11
0
 public bool IsAccess(NpWebViewAccessType type)
 {
     return(NpWebViewAndroid.IsAccess((int)type));
 }
Beispiel #12
0
 public void BackPage()
 {
     NpWebViewAndroid.BackPage();
 }
Beispiel #13
0
 public void NextPage()
 {
     NpWebViewAndroid.NextPage();
 }