Assignment for RMIT Mixed Reality in 2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
2.0 KiB

  1. // This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
  2. namespace Oculus.Platform
  3. {
  4. using System;
  5. using System.Collections;
  6. using Oculus.Platform.Models;
  7. using System.Collections.Generic;
  8. using UnityEngine;
  9. public class RichPresenceOptions {
  10. public RichPresenceOptions() {
  11. Handle = CAPI.ovr_RichPresenceOptions_Create();
  12. }
  13. public void SetApiName(string value) {
  14. CAPI.ovr_RichPresenceOptions_SetApiName(Handle, value);
  15. }
  16. public void SetArgs(string key, string value) {
  17. CAPI.ovr_RichPresenceOptions_SetArgsString(Handle, key, value);
  18. }
  19. public void ClearArgs() {
  20. CAPI.ovr_RichPresenceOptions_ClearArgs(Handle);
  21. }
  22. public void SetCurrentCapacity(uint value) {
  23. CAPI.ovr_RichPresenceOptions_SetCurrentCapacity(Handle, value);
  24. }
  25. public void SetDeeplinkMessageOverride(string value) {
  26. CAPI.ovr_RichPresenceOptions_SetDeeplinkMessageOverride(Handle, value);
  27. }
  28. public void SetEndTime(DateTime value) {
  29. CAPI.ovr_RichPresenceOptions_SetEndTime(Handle, value);
  30. }
  31. public void SetExtraContext(RichPresenceExtraContext value) {
  32. CAPI.ovr_RichPresenceOptions_SetExtraContext(Handle, value);
  33. }
  34. public void SetIsIdle(bool value) {
  35. CAPI.ovr_RichPresenceOptions_SetIsIdle(Handle, value);
  36. }
  37. public void SetIsJoinable(bool value) {
  38. CAPI.ovr_RichPresenceOptions_SetIsJoinable(Handle, value);
  39. }
  40. public void SetJoinableId(string value) {
  41. CAPI.ovr_RichPresenceOptions_SetJoinableId(Handle, value);
  42. }
  43. public void SetMaxCapacity(uint value) {
  44. CAPI.ovr_RichPresenceOptions_SetMaxCapacity(Handle, value);
  45. }
  46. public void SetStartTime(DateTime value) {
  47. CAPI.ovr_RichPresenceOptions_SetStartTime(Handle, value);
  48. }
  49. // For passing to native C
  50. public static explicit operator IntPtr(RichPresenceOptions options) {
  51. return options != null ? options.Handle : IntPtr.Zero;
  52. }
  53. ~RichPresenceOptions() {
  54. CAPI.ovr_RichPresenceOptions_Destroy(Handle);
  55. }
  56. IntPtr Handle;
  57. }
  58. }