VR API

  • VR

    The player’s VR attributes can be used to change the stereo mode, the viewing direction and the vertical field of view.

    Remark

    The VR attributes are properties of the vr object, which is accessible through the player object.
    See more

    Declaration

    Swift

    public protocol VR : EventDispatcherProtocol
  • A VRConfiguration object contains the settings for 360 VR video playback.

    See more

    Declaration

    Swift

    @objc(THEOplayerVRConfiguration)
    public class VRConfiguration : NSObject, Codable
  • The direction the user is facing.

    See more

    Declaration

    Swift

    @objc(THEOplayerVRDirection)
    public class VRDirection : NSObject
  • The different stereo modes for the VR configuration.

    See more

    Declaration

    Swift

    @objc(THEOplayerStereoMode)
    public enum StereoMode : Int
    extension StereoMode: Codable
  • The VR event object.

    See more

    Declaration

    Swift

    @objc(THEOplayerVREvent)
    public class VREvent : NSObject, EventProtocol