API reference
API reference
Select your platform
No SDKs available
No versions available

UserOptions Class

The user_options configuration is used to specify additional settings for the Models.User. It allows you to customize the response by specifying the time window, maximum number of users, and service providers for which linked accounts should be retrieved.

Constructors

UserOptions ()
Creates a new instance of ::UserOptions 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.UserOptions.UserOptions()

Methods

AddServiceProvider ( value )
It's an array of ServiceProvider objects that specifies the service providers for which linked accounts should be retrieved.
Signature
void Oculus.Platform.UserOptions.AddServiceProvider(ServiceProvider value)
Parameters
Returns
void
ClearServiceProviders ()
This method clears the ServiceProviders options associated with this instance, and the instance will be in its default state.
Signature
void Oculus.Platform.UserOptions.ClearServiceProviders()
Returns
void
SetMaxUsers ( value )
This field specifies the maximum number of Models.User that should be returned in the response.
Signature
void Oculus.Platform.UserOptions.SetMaxUsers(uint value)
Parameters
value: uint
Returns
void
SetTimeWindow ( value )
This field specifies the time window in seconds for which the linked accounts should be retrieved.
Signature
void Oculus.Platform.UserOptions.SetTimeWindow(TimeWindow value)
Parameters
value: TimeWindow
Returns
void

Static Methods

operator IntPtr ( options )
This operator allows you to pass an instance of the ::UserOptions 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.UserOptions.operator IntPtr(UserOptions options)
Parameters
options: UserOptions