Please Select Your Location
Australia
Österreich
België
Canada
Canada - Français
中国
Česká republika
Denmark
Deutschland
France
HongKong
Iceland
Ireland
Italia
日本
Korea
Latvija
Lietuva
Lëtzebuerg
Malta
المملكة العربية السعودية (Arabic)
Nederland
New Zealand
Norge
Polska
Portugal
Russia
Saudi Arabia
Southeast Asia
España
Suisse
Suomi
Sverige
台灣
Ukraine
United Kingdom
United States
Please Select Your Location
België
Česká republika
Denmark
Iceland
Ireland
Italia
Latvija
Lietuva
Lëtzebuerg
Malta
Nederland
Norge
Polska
Portugal
España
Suisse
Suomi
Sverige

最高级别的 API

此 API 用于初始化和关闭 VR 内容中的 VIVEPORT SDK。

/** Language: C#, for Unity **/
namespace Viveport
{
   public delegate void StatusCallback(int nResult);

   class Api
   {
      public static int Init(StatusCallback callback, string appId);
      public static int Shutdown(StatusCallback callback);
      public static string Version();
      public static void QueryRuntimeMode(QueryRuntimeModeCallback);
   }
}