編輯

共用方式為


AVPlayerStatus Enum

Definition

An enumeration whose values indicate the status of an AVPlayer.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum AVPlayerStatus
type AVPlayerStatus = 
Inheritance
AVPlayerStatus
Attributes

Fields

Name Value Description
Unknown 0

The status of the player is unknown, generally because media has not been loaded.

ReadyToPlay 1

The player is ready to play the AVPlayerItem.

Failed 2

The player can no longer play the AVPlayerItem.

Applies to