Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

AVAsset.IsReadable

Checks whether the asset’s media data can be extracted

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
AVAsset 5.2 Yes No Yes, macOS only No Yes

MBS( "AVAsset.IsReadable"; Asset )

Parameters

Parameter Description Example value
Asset The reference number of the asset. Please use AVAsset.OpenContainer, AVAsset.OpenFile or AVAsset.OpenURL function to get asset reference. $asset

Result

Returns 1, 0 or error.

Description

Checks whether the asset’s media data can be extracted

Examples

Checks play status:

MBS( "AVAsset.IsReadable"; $asset)

See also


AVAsset.IsPlayable   -   AVAsset.Loaded

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins