示例#1
0
        // Token: 0x06000EFB RID: 3835 RVA: 0x0005EABC File Offset: 0x0005CCBC
        public static string GetAppLaunchData()
        {
            StringBuilder stringBuilder = new StringBuilder(256);

            if (IntPtr.Size == 8)
            {
                Deeplink.GetAppLaunchData_64(stringBuilder, 256);
            }
            else
            {
                Deeplink.GetAppLaunchData(stringBuilder, 256);
            }
            return(stringBuilder.ToString());
        }
示例#2
0
 // Token: 0x06000EF8 RID: 3832 RVA: 0x0005E9C0 File Offset: 0x0005CBC0
 public static void GoToStore(StatusCallback2 callback, string viveportId = "")
 {
     if (callback == null)
     {
         throw new InvalidOperationException("callback == null || string.IsNullOrEmpty(viveportId)");
     }
     Deeplink.goToStoreIl2cppCallback = new StatusCallback2(callback.Invoke);
     Api.InternalStatusCallback2s.Add(new StatusCallback2(Deeplink.GoToStoreIl2cppCallback));
     if (IntPtr.Size == 8)
     {
         Deeplink.GoToStore_64(new StatusCallback2(Deeplink.GoToStoreIl2cppCallback), viveportId);
         return;
     }
     Deeplink.GoToStore(new StatusCallback2(Deeplink.GoToStoreIl2cppCallback), viveportId);
 }
示例#3
0
 // Token: 0x06000EF6 RID: 3830 RVA: 0x0005E934 File Offset: 0x0005CB34
 public static void GoToApp(StatusCallback2 callback, string viveportId, string launchData, string branchName)
 {
     if (callback == null || string.IsNullOrEmpty(viveportId))
     {
         throw new InvalidOperationException("callback == null || string.IsNullOrEmpty(viveportId)");
     }
     Deeplink.goToAppWithBranchNameIl2cppCallback = new StatusCallback2(callback.Invoke);
     Api.InternalStatusCallback2s.Add(new StatusCallback2(Deeplink.GoToAppWithBranchNameIl2cppCallback));
     if (IntPtr.Size == 8)
     {
         Deeplink.GoToApp_64(new StatusCallback2(Deeplink.GoToAppWithBranchNameIl2cppCallback), viveportId, launchData, branchName);
         return;
     }
     Deeplink.GoToApp(new StatusCallback2(Deeplink.GoToAppWithBranchNameIl2cppCallback), viveportId, launchData, branchName);
 }
示例#4
0
 // Token: 0x06000EF2 RID: 3826 RVA: 0x0005E830 File Offset: 0x0005CA30
 public static void IsReady(StatusCallback callback)
 {
     if (callback == null)
     {
         throw new InvalidOperationException("callback == null");
     }
     Deeplink.isReadyIl2cppCallback = new StatusCallback(callback.Invoke);
     Api.InternalStatusCallbacks.Add(new StatusCallback(Deeplink.IsReadyIl2cppCallback));
     if (IntPtr.Size == 8)
     {
         Deeplink.IsReady_64(new StatusCallback(Deeplink.IsReadyIl2cppCallback));
         return;
     }
     Deeplink.IsReady(new StatusCallback(Deeplink.IsReadyIl2cppCallback));
 }
示例#5
0
 private static void GoToStoreIl2cppCallback(int errorCode, string message)
 {
     Deeplink.goToStoreIl2cppCallback(errorCode, message);
 }
示例#6
0
 private static void GoToAppWithBranchNameIl2cppCallback(int errorCode, string message)
 {
     Deeplink.goToAppWithBranchNameIl2cppCallback(errorCode, message);
 }
示例#7
0
 private static void IsReadyIl2cppCallback(int errorCode)
 {
     Deeplink.isReadyIl2cppCallback(errorCode);
 }