Upravit

Sdílet prostřednictvím


AVAssetReferenceRestrictions Enum

Definition

An enumeration whose values define restrictions relating to a AVAsset.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum AVAssetReferenceRestrictions
type AVAssetReferenceRestrictions = 
Inheritance
AVAssetReferenceRestrictions
Attributes

Fields

Name Value Description
ForbidNone 0

There are no restrictions on references to media data.

ForbidRemoteReferenceToLocal 1

Remote assets cannot require a local media resource (e.g., an HTTP URL cannot require a client-side file).

ForbidLocalReferenceToRemote 2

Local asset references to remote media are not allowed.

ForbidCrossSiteReference 4

Remote asset references to a different site are not allowed.

ForbidLocalReferenceToLocal 8

Local asset references to local media outside the container are not allowed.

ForbidAll 65535

Only references to media data stored within the asset's container are allowed.

Applies to