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

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.