Please Select Your Location

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

Shared callbacks

The VIVEPORT SDK uses several callbacks for data exchange between functions.

StatusCallback

There are two callbacks which are inherited from the StatusCallback class, and used in the following APIs:

  • Top Level
  • Session Token
  • Subscription
  • Deeplink
  • DLC
  • Stats and Achievements
  • Leaderboards

StatusCallback()

 public delegate void StatusCallback(int nResult);
Name Type Description
nResult int Result code

See Error codes for possible outcomes of nResult .

StatusCallback2()

public delegate void StatusCallback2(int nResult, string message);
Name Type Description
nResult int Result code
message string Message

See Error codes for possible outcomes of nResult . message is used for moving strings between APIs, and may carry data such as error messages and tokens.