Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVAssetMBS class.

AVAssetMBS.AVAssetReferenceRestrictionForbidAll = &hFFFF

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
One of the constants for use with AVURLAssetReferenceRestrictionsKey to control the resolution of references to external media data.

Indicates that only references to media data stored within the asset's container file should be allowed.

AVAssetMBS.AVAssetReferenceRestrictionForbidCrossSiteReference = 4

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
One of the constants for use with AVURLAssetReferenceRestrictionsKey to control the resolution of references to external media data.

Indicates that references from a remote asset to remote media data stored at a different site should not be followed.

AVAssetMBS.AVAssetReferenceRestrictionForbidLocalReferenceToLocal = 8

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
One of the constants for use with AVURLAssetReferenceRestrictionsKey to control the resolution of references to external media data.

Indicates that references from a local asset to local media data stored outside the asset's container file should not be followed.

AVAssetMBS.AVAssetReferenceRestrictionForbidLocalReferenceToRemote = 2

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
One of the constants for use with AVURLAssetReferenceRestrictionsKey to control the resolution of references to external media data.

Indicates that references from a local asset to remote media data should not be followed.

AVAssetMBS.AVAssetReferenceRestrictionForbidNone = 0

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
One of the constants for use with AVURLAssetReferenceRestrictionsKey to control the resolution of references to external media data.

Indicates that all types of references should be followed.

AVAssetMBS.AVAssetReferenceRestrictionForbidRemoteReferenceToLocal = 1

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
One of the constants for use with AVURLAssetReferenceRestrictionsKey to control the resolution of references to external media data.

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.

AVAssetMBS.AVKeyValueStatusCancelled = 4

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
One of the constants to indicate the load status of a property.

Indicates that the attempt to load the property was cancelled.

AVAssetMBS.AVKeyValueStatusFailed = 3

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
One of the constants to indicate the load status of a property.

Indicates that the attempt to load the property failed.

AVAssetMBS.AVKeyValueStatusLoaded = 2

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
One of the constants to indicate the load status of a property.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.m4v")
dim a as AVAssetMBS = AVAssetmbs.assetWithFile(f)

if a = nil then
MsgBox "failed to read file at all"
Return
end if

// request duration property
a.loadValuesAsynchronouslyForKeys array("duration")

dim e as NSErrorMBS
dim Status as Integer = a.statusOfValueForKey("duration", e)
while status < a.AVKeyValueStatusLoaded
// wait for loading in background
status = a.statusOfValueForKey("duration", e)
wend

// got it?
if status <> a.AVKeyValueStatusLoaded then
MsgBox "Failed to load duration."
if e <> nil then
MsgBox e.LocalizedDescription
end if

else
MsgBox str(a.duration.Seconds)+" seconds long."
end if

Indicates that the property is ready for use.

AVAssetMBS.AVKeyValueStatusLoading = 1

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
One of the constants to indicate the load status of a property.

Indicates that the property is not fully loaded.

AVAssetMBS.AVKeyValueStatusUnknown = 0

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
One of the constants to indicate the load status of a property.

Indicates that the property status is unknown.

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


💬 Ask a question or report a problem
The biggest plugin in space...