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

    @available(*, deprecated, message: "This protocol will be removed with the next major release.")
    public protocol VR : EventDispatcherProtocol
  • A VRConfiguration object contains the settings for 360 VR video playback.

    See more

    Declaration

    Swift

    @available(*, deprecated, message: "This class will be removed with the next major release.")
    @objc(THEOplayerVRConfiguration)
    public class VRConfiguration : NSObject, Codable
  • The direction the user is facing.

    See more

    Declaration

    Swift

    @available(*, deprecated, message: "This class will be removed with the next major release.")
    @objc(THEOplayerVRDirection)
    public class VRDirection : NSObject
  • The different stereo modes for the VR configuration.

    See more

    Declaration

    Swift

    @available(*, deprecated, message: "This enumeration will be removed with the next major release.")
    @objc(THEOplayerStereoMode)
    public enum StereoMode : Int
    extension StereoMode: Codable
  • The VR event object.

    See more

    Declaration

    Swift

    @available(*, deprecated, message: "This class will be removed with the next major release.")
    @objc(THEOplayerVREvent)
    public class VREvent : NSObject, EventProtocol