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

Example usage

The following example highlights how a developer might use the VIVEPORT Top Level API in their title.

  1. Call the Top Level API using Viveport.Api.Init before calling any of the other APIs. This function will initialize the VIVEPORT SDK which may take time. For Unity developers, this is typically called as Monobehavior Start() . The StatusCallback() will output the status after initialization is complete, without blocking the main thread.
  1. Call Viveport.Api.Shutdown to release VIVEPORT SDK resources when no longer needed. In Unity, this is typically either in MonoBehavior OnDestroy() or before Application.Quit() .The StatusCallback() will output the status after the shutdown is complete, without blocking the main thread.