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.
 
 
 

41 lines
1.3 KiB

// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
namespace Oculus.Platform.Models
{
using System;
using System.Collections;
using Oculus.Platform.Models;
using System.Collections.Generic;
using UnityEngine;
public class InstalledApplication
{
public readonly string ApplicationId;
public readonly string PackageName;
public readonly string Status;
public readonly int VersionCode;
public readonly string VersionName;
public InstalledApplication(IntPtr o)
{
ApplicationId = CAPI.ovr_InstalledApplication_GetApplicationId(o);
PackageName = CAPI.ovr_InstalledApplication_GetPackageName(o);
Status = CAPI.ovr_InstalledApplication_GetStatus(o);
VersionCode = CAPI.ovr_InstalledApplication_GetVersionCode(o);
VersionName = CAPI.ovr_InstalledApplication_GetVersionName(o);
}
}
public class InstalledApplicationList : DeserializableList<InstalledApplication> {
public InstalledApplicationList(IntPtr a) {
var count = (int)CAPI.ovr_InstalledApplicationArray_GetSize(a);
_Data = new List<InstalledApplication>(count);
for (int i = 0; i < count; i++) {
_Data.Add(new InstalledApplication(CAPI.ovr_InstalledApplicationArray_GetElement(a, (UIntPtr)i)));
}
}
}
}