AdvancedAbuseReportOptions
()
|
Creates a new instance of ::AdvancedAbuseReportOptions 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.AdvancedAbuseReportOptions.AdvancedAbuseReportOptions() |
AddSuggestedUser
(
userID
)
|
Provide a list of users to suggest for reporting. This list should include users that the reporter has recently interacted with to aid them in selecting the right user to report.
Signature
void Oculus.Platform.AdvancedAbuseReportOptions.AddSuggestedUser(UInt64 userID) Parameters userID: UInt64Returns void |
ClearDeveloperDefinedContext
()
|
This method clears the DeveloperDefinedContext options associated with this instance, and the instance will be in its default state.
Signature
void Oculus.Platform.AdvancedAbuseReportOptions.ClearDeveloperDefinedContext() Returns void |
ClearSuggestedUsers
()
|
This method clears the SuggestedUsers options associated with this instance, and the instance will be in its default state.
Signature
void Oculus.Platform.AdvancedAbuseReportOptions.ClearSuggestedUsers() Returns void |
SetDeveloperDefinedContext
(
key
, value
)
|
This field is intended to allow developers to pass custom metadata through the report flow. The metadata passed through is included with the report received by the developer.
Signature
void Oculus.Platform.AdvancedAbuseReportOptions.SetDeveloperDefinedContext(string key, string value) Parameters key: stringvalue: stringReturns void |
SetObjectType
(
value
)
|
If AbuseReportType is AbuseReportType.Object, a string representing the type of content being reported. This should correspond to the object_type string used in the UI.
Signature
void Oculus.Platform.AdvancedAbuseReportOptions.SetObjectType(string value) Parameters value: stringReturns void |
SetReportType
(
value
)
|
The intended entity type AbuseReportType being reported, it can be either a user AbuseReportType.User or an object/content AbuseReportType.Object.
Signature
void Oculus.Platform.AdvancedAbuseReportOptions.SetReportType(AbuseReportType value) Parameters value: AbuseReportTypeReturns void |
SetVideoMode
(
value
)
|
The video mode AbuseReportVideoMode controls whether or not the abuse report flow should collect evidence and whether it is optional or not. AbuseReportVideoMode.Collect requires video evidence to be provided by the user. AbuseReportVideoMode.Optional presents the user with the option to provide video evidence. AbuseReportVideoMode.Skip bypasses the video evidence collection step altogether.
Signature
void Oculus.Platform.AdvancedAbuseReportOptions.SetVideoMode(AbuseReportVideoMode value) Parameters value: AbuseReportVideoModeReturns void |
operator IntPtr
(
options
)
|
This operator allows you to pass an instance of the ::AdvancedAbuseReportOptions 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.AdvancedAbuseReportOptions.operator IntPtr(AdvancedAbuseReportOptions options) Parameters options: AdvancedAbuseReportOptions |