ReadyState
public enum ReadyState : IntThe ready state of the player.
- 
                  
                  The player has no information about the duration of its source. DeclarationSwift case HAVE_NOTHING = 1
- 
                  
                  The player has information about the duration of its source. DeclarationSwift case HAVE_METADATA = 2
- 
                  
                  The player has its current frame in its buffer. DeclarationSwift case HAVE_CURRENT_DATA = 3
- 
                  
                  The player has enough data for the current playback position, as well as for at least a little bit of time into the future (at least two frames of video, for example). DeclarationSwift case HAVE_FUTURE_DATA = 4
- 
                  
                  The player has enough data available, and the download rate is high enough that the media can be played through to the end without interruption. DeclarationSwift case HAVE_ENOUGH_DATA = 5
