Classes

The following classes are available globally.

  • The ARAudience is a UIViewController that implements all the needed methods for the viewer (aundience member) of the AR Live Stream. The class provides a manged UI for the audience user.

    Note

    All class methods can be extended or overwritten.
    See more

    Declaration

    Swift

    open class ARAudience : UIViewController
    extension ARAudience: AgoraRtcEngineDelegate
  • Undocumented

    See more

    Declaration

    Swift

    open class ARBroadcaster : UIViewController
    extension ARBroadcaster: ARSCNViewDelegate
    extension ARBroadcaster: ARSessionDelegate
    extension ARBroadcaster: AgoraRtcEngineDelegate
    extension ARBroadcaster: RenderARDelegate
  • A custom video source for the AgoraRtcEngine. This class conforms to the AgoraVideoSourceProtocol and is used to pass the AR pixel buffer as a video source of the Agora stream.

    See more

    Declaration

    Swift

    public class ARVideoSource : NSObject, AgoraVideoSourceProtocol
  • The AgoraARKit object provides static properties to be used when initializing the Agora engine

    See more

    Declaration

    Swift

    public class AgoraARKit
  • The AgoraLobbyVC is a UIViewController that provides a manged UIView that gives the user the ability to enter a channel name and choose their role as either a Broadcaster or Audience. Based on their selection an ARBroadcaster or ARAudience ViewController is presented.

    Note

    All class methods can be extended or overwritten.
    See more

    Declaration

    Swift

    open class AgoraLobbyVC : UIViewController
    extension AgoraLobbyVC: UITextFieldDelegate