Newer
Older
CGTrack / Assets / Oculus / Platform / Scripts / AdvancedAbuseReportOptions.cs
// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!

namespace Oculus.Platform
{
  using System;
  using System.Collections;
  using Oculus.Platform.Models;
  using System.Collections.Generic;
  using UnityEngine;

  public class AdvancedAbuseReportOptions {

    public AdvancedAbuseReportOptions() {
      Handle = CAPI.ovr_AdvancedAbuseReportOptions_Create();
    }

    /// If report_type is content, a string representing the type of content being
    /// reported. This should correspond to the object_type string used in the UI
    public void SetObjectType(string value) {
      CAPI.ovr_AdvancedAbuseReportOptions_SetObjectType(Handle, value);
    }

    public void SetReportType(AbuseReportType value) {
      CAPI.ovr_AdvancedAbuseReportOptions_SetReportType(Handle, value);
    }

    public void SetVideoMode(AbuseReportVideoMode value) {
      CAPI.ovr_AdvancedAbuseReportOptions_SetVideoMode(Handle, value);
    }


    /// For passing to native C
    public static explicit operator IntPtr(AdvancedAbuseReportOptions options) {
      return options != null ? options.Handle : IntPtr.Zero;
    }

    ~AdvancedAbuseReportOptions() {
      CAPI.ovr_AdvancedAbuseReportOptions_Destroy(Handle);
    }

    IntPtr Handle;
  }
}