The current playback state of the movie player.
SDKs
- iOS 3.2–9.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
Framework
- Media Player
Declaration
var playbackState: MPMovie Playback State { get }
Discussion
The playback state is affected by programmatic calls to play, pause, or stop the movie player. It can also be affected by user interactions or by the network, in cases where streaming content cannot be buffered fast enough.
See the MPMovie
enumeration for possible values of this property. To be notified of changes to the playback state of a movie player, register for the MPMovie
notification.