Classes
The following classes are available globally.
-
The
ARAudience
is aUIViewController
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.Declaration
Swift
open class ARAudience : UIViewController
extension ARAudience: AgoraRtcEngineDelegate
-
Undocumented
See moreDeclaration
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 moreDeclaration
Swift
public class ARVideoSource : NSObject, AgoraVideoSourceProtocol
-
The
See moreAgoraARKit
object provides static properties to be used when initializing the Agora engineDeclaration
Swift
public class AgoraARKit
-
The
AgoraLobbyVC
is aUIViewController
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 anARBroadcaster
orARAudience
ViewController is presented.Note
All class methods can be extended or overwritten.Declaration
Swift
open class AgoraLobbyVC : UIViewController
extension AgoraLobbyVC: UITextFieldDelegate