Class AVPlayerActionAtItemEnd


  • public final class AVPlayerActionAtItemEnd
    extends java.lang.Object
    [@enum] AVPlayerActionAtItemEnd These constants are the allowable values of AVPlayer's actionAtItemEnd property. [@constant] AVPlayerActionAtItemEndAdvance Indicates that when an AVPlayerItem reaches its end time the player will automatically advance to the next item in its queue. This value is supported only for players of class AVQueuePlayer. An AVPlayer that's not an AVQueuePlayer will raise an NSInvalidArgumentException if an attempt is made to set its actionAtItemEnd to AVPlayerActionAtItemEndAdvance. [@constant] AVPlayerActionAtItemEndPause Indicates that when an AVPlayerItem reaches its end time the player will automatically pause (which is to say, the player's rate will automatically be set to 0). [@constant] AVPlayerActionAtItemEndNone Indicates that when an AVPlayerItem reaches its end time the player will take no action (which is to say, the player's rate will not change, its currentItem will not change, and its currentTime will continue to be incremented or decremented as time elapses, according to its rate). After this, if the player's actionAtItemEnd is set to a value other than AVPlayerActionAtItemEndNone, the player will immediately take the action appropriate to that value.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Advance  
      static long None  
      static long Pause  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait