AgoraRtmLocalInvitation Class Reference

Inherits from NSObject
Declared in AgoraRtmCallKit.h

Overview

The caller’s call invitation object.

  calleeId

User ID of the callee.

@property (nonatomic, copy, nonnull) NSString *calleeId

Declared In

AgoraRtmCallKit.h

  content

The call invitation content set by the caller.

@property (nonatomic, copy, nullable) NSString *content

Declared In

AgoraRtmCallKit.h

  response

The callee’s response to the incoming call invitation.

@property (nonatomic, copy, nullable, readonly) NSString *response

Declared In

AgoraRtmCallKit.h

  channelId

The channel ID.

@property (nonatomic, copy, nullable) NSString *channelId

Discussion

NOTE

To intercommunicate with the legacy Agora Signaling SDK, you MUST set the channel ID. However, even if the callee successfully accepts the call invitation, the Agora RTM SDK does not join the channel of the specified channel ID.

Declared In

AgoraRtmCallKit.h

  state

The state of the outgoing call invitation. See AgoraRtmLocalInvitationState.

@property (nonatomic, assign, readonly) AgoraRtmLocalInvitationState state

Declared In

AgoraRtmCallKit.h

– initWithCalleeId:

Creates an AgoraRtmLocalInvitation instance.

- (instancetype _Nonnull)initWithCalleeId:(NSString *_Nonnull)calleeId

Parameters

calleeId

uid of the callee.

Return Value

An AgoraRtmLocalInvitation instance.

Declared In

AgoraRtmCallKit.h