| 1 | // This file was @generated with LibOVRPlatform/codegen/main. Do not modify it! |
| 2 | |
| 3 | namespace Oculus.Platform |
| 4 | { |
| 5 | using System; |
| 6 | using System.Collections; |
| 7 | using Oculus.Platform.Models; |
| 8 | using System.Collections.Generic; |
| 9 | using UnityEngine; |
| 10 | |
| 11 | public class ApplicationOptions { |
| 12 | |
| 13 | public ApplicationOptions() { |
| 14 | Handle = CAPI.ovr_ApplicationOptions_Create(); |
| 15 | } |
| 16 | |
| 17 | public void SetDeeplinkMessage(string value) { |
| 18 | CAPI.ovr_ApplicationOptions_SetDeeplinkMessage(Handle, value); |
| 19 | } |
| 20 | |
| 21 | |
| 22 | // For passing to native C |
| 23 | public static explicit operator IntPtr(ApplicationOptions options) { |
| 24 | return options != null ? options.Handle : IntPtr.Zero; |
| 25 | } |
| 26 | |
| 27 | ~ApplicationOptions() { |
| 28 | CAPI.ovr_ApplicationOptions_Destroy(Handle); |
| 29 | } |
| 30 | |
| 31 | IntPtr Handle; |
| 32 | } |
| 33 | } |