Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

AVURLAssetMBS class

Super class: AVAssetMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class AVFoundation MBS AVFoundation Plugin 13.2 Yes No No Yes, macOS only No
Function: AVURLAsset is a concrete subclass of AVAsset that you use to initialize an asset from an URL..
Example:
dim f as FolderItem = SpecialFolder.Desktop.Child("test.mov")
dim u as AVURLAssetMBS = AVURLAssetMBS.URLAssetWithFile(f)
dim a() as AVAssetTrackMBS = u.tracks

MsgBox str(UBound(a)+1)+" tracks."
Notes: Subclass of the AVAssetMBS class.

Feedback, Comments & Corrections

Super class AVAssetMBS

Reference Restriction Modes

Constant Value Description
AVAssetReferenceRestrictionForbidAll &hFFFF Indicates that only references to media data stored within the asset's container file should be allowed.
AVAssetReferenceRestrictionForbidCrossSiteReference 4 Indicates that references from a remote asset to remote media data stored at a different site should not be followed.
AVAssetReferenceRestrictionForbidLocalReferenceToLocal 8 Indicates that references from a local asset to local media data stored outside the asset's container file should not be followed.
AVAssetReferenceRestrictionForbidLocalReferenceToRemote 2 Indicates that references from a local asset to remote media data should not be followed.
AVAssetReferenceRestrictionForbidNone 0 Indicates that all types of references should be followed.
AVAssetReferenceRestrictionForbidRemoteReferenceToLocal 1 Indicates that references from a remote asset (for example, referenced via http URL) to local media data (for example, stored in a local file) should not be followed.

Load Status Constants

Constant Value Description
AVKeyValueStatusCancelled 4 Indicates that the attempt to load the property was cancelled.
AVKeyValueStatusFailed 3 Indicates that the attempt to load the property failed.
AVKeyValueStatusLoaded 2 Indicates that the property is ready for use.
AVKeyValueStatusLoading 1 Indicates that the property is not fully loaded.
AVKeyValueStatusUnknown 0 Indicates that the property status is unknown.

This class has no sub classes.

Some examples which use this class:


The items on this page are in the following plugins: MBS AVFoundation Plugin.


AVTimedMetadataGroupMBS   -   AVVideoCompositingMBS




Links
MBS Xojo Plugins