Platforms to show: All Mac Windows Linux Cross-Platform

AVAssetMBS.AVAssetReferenceRestrictionForbidAll = &hFFFF
Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
Function: One of the constants for use with AVURLAssetReferenceRestrictionsKey to control the resolution of references to external media data.
Notes: Indicates that only references to media data stored within the asset's container file should be allowed.

Feedback, Comments & Corrections

AVAssetMBS.AVAssetReferenceRestrictionForbidCrossSiteReference = 4
Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
Function: One of the constants for use with AVURLAssetReferenceRestrictionsKey to control the resolution of references to external media data.
Notes: Indicates that references from a remote asset to remote media data stored at a different site should not be followed.

Feedback, Comments & Corrections

AVAssetMBS.AVAssetReferenceRestrictionForbidLocalReferenceToLocal = 8
Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
Function: One of the constants for use with AVURLAssetReferenceRestrictionsKey to control the resolution of references to external media data.
Notes: Indicates that references from a local asset to local media data stored outside the asset's container file should not be followed.

Feedback, Comments & Corrections

AVAssetMBS.AVAssetReferenceRestrictionForbidLocalReferenceToRemote = 2
Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
Function: One of the constants for use with AVURLAssetReferenceRestrictionsKey to control the resolution of references to external media data.
Notes: Indicates that references from a local asset to remote media data should not be followed.

Feedback, Comments & Corrections

AVAssetMBS.AVAssetReferenceRestrictionForbidNone = 0
Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
Function: One of the constants for use with AVURLAssetReferenceRestrictionsKey to control the resolution of references to external media data.
Notes: Indicates that all types of references should be followed.

Feedback, Comments & Corrections

AVAssetMBS.AVAssetReferenceRestrictionForbidRemoteReferenceToLocal = 1
Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
Function: One of the constants for use with AVURLAssetReferenceRestrictionsKey to control the resolution of references to external media data.
Notes: 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.

Feedback, Comments & Corrections

AVAssetMBS.AVKeyValueStatusCancelled = 4
Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
Function: One of the constants to indicate the load status of a property.
Notes: Indicates that the attempt to load the property was cancelled.

Feedback, Comments & Corrections

AVAssetMBS.AVKeyValueStatusFailed = 3
Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
Function: One of the constants to indicate the load status of a property.
Notes: Indicates that the attempt to load the property failed.

Feedback, Comments & Corrections

AVAssetMBS.AVKeyValueStatusLoaded = 2
Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
Function: 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
Notes: Indicates that the property is ready for use.

Feedback, Comments & Corrections

AVAssetMBS.AVKeyValueStatusLoading = 1
Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
Function: One of the constants to indicate the load status of a property.
Notes: Indicates that the property is not fully loaded.

Feedback, Comments & Corrections

AVAssetMBS.AVKeyValueStatusUnknown = 0
Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
Function: One of the constants to indicate the load status of a property.
Notes: Indicates that the property status is unknown.

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS Xojo PDF Plugins