API reference

MultiplayerErrorOptions Class

The multiplayer error option. This is used in invokable error dialogs that provide general error messages to a User. Read more about error dialogues in our docs.

Constructors

MultiplayerErrorOptions ()
Creates a new instance of ::MultiplayerErrorOptions which is used to customize the option flow. It returns a handle to the newly created options object, which can be used to set various properties for the options.
Signature
Oculus.Platform.MultiplayerErrorOptions.MultiplayerErrorOptions()

Methods

SetErrorKey ( value )
Key associated with the predefined error message to be shown to users.
Key List:
  • MultiplayerErrorErrorKey.DestinationUnavailable
  • MultiplayerErrorErrorKey.DlcRequired
  • MultiplayerErrorErrorKey.General
  • MultiplayerErrorErrorKey.GroupFull
  • MultiplayerErrorErrorKey.InviterNotJoinable
  • MultiplayerErrorErrorKey.LevelNotHighEnough
  • MultiplayerErrorErrorKey.LevelNotUnlocked
  • MultiplayerErrorErrorKey.NetworkTimeout
  • MultiplayerErrorErrorKey.NoLongerAvailable
  • MultiplayerErrorErrorKey.UpdateRequired
  • MultiplayerErrorErrorKey.TutorialRequired
Signature
void Oculus.Platform.MultiplayerErrorOptions.SetErrorKey(MultiplayerErrorErrorKey value)
Parameters
Returns
void

Static Methods

operator IntPtr ( options )
This operator allows you to pass an instance of the ::MultiplayerErrorOptions class to native C code as an IntPtr. The operator returns the handle of the options object, or IntPtr.Zero if the object is null.
Signature
static Oculus.Platform.MultiplayerErrorOptions.operator IntPtr(MultiplayerErrorOptions options)
Parameters