Instance Property

isPlayable

A Boolean value that indicates whether the asset, or its URL, can be used to initialize an instance of a player item.

Declaration

var isPlayable: Bool { get }

Discussion

When this property is true, the asset can be used to initialize an instance of AVPlayerItem.

See Also

Determining Usability

var isExportable: Bool

A Boolean value that indicates whether the asset can be exported using an asset export session.

var isReadable: Bool

A Boolean value that indicates whether the asset’s media data can be extracted using an asset reader.

var isComposable: Bool

A Boolean value that indicates whether the asset can be used within a segment of a composition track.

var hasProtectedContent: Bool

A Boolean value that indicates whether the asset has protected content.

var isCompatibleWithAirPlayVideo: Bool

A Boolean value that indicates whether the asset is compatible with AirPlay Video.

var isCompatibleWithSavedPhotosAlbum: Bool

A Boolean value that indicates whether the asset can be written to the Saved Photos album.