JWExternalPlaybackSettings
public class JWExternalPlaybackSettings : NSObject
A settings object containing information regarding external playback.
-
A Boolean value that indicates whether the player allows switching to external playback mode.
Note
The default value istrue
.Declaration
Swift
public fileprivate(set) var playbackEnabled: Bool { get }
-
The video gravity of the player for external playback mode only.
Note
The default value isresizeAspect
Declaration
Swift
public fileprivate(set) var videoGravity: JWVideoGravity { get }
-
A Boolean value that indicates whether the player should automatically switch to external playback mode while the external screen mode is active.
The player automatically switches back to the external screen mode once video playback concludes. A brief transition may be visible on the external display when automatically switching between the two modes. The default value of this property is false. The value of this property has no effect if
allowsExternalPlayback
isfalse
.Note
The default value isfalse
.Declaration
Swift
public fileprivate(set) var usesExternalPlaybackWhileExternalScreenIsActive: Bool { get }