XRPermissionDescriptor constructor

XRPermissionDescriptor({
  1. XRSessionMode? mode,
  2. Iterable<String>? requiredFeatures,
  3. Iterable<String>? optionalFeatures,
})

Implementation

factory XRPermissionDescriptor(
        {XRSessionMode? mode,
        Iterable<String>? requiredFeatures,
        Iterable<String>? optionalFeatures}) =>
    XRPermissionDescriptor._(
        mode: mode?.value ?? undefined,
        requiredFeatures: requiredFeatures ?? undefined,
        optionalFeatures: optionalFeatures ?? undefined);