NXMCallDelegate
Objective-C
@protocol NXMCallDelegate <NSObject>
Swift
protocol NXMCallDelegate : NSObjectProtocol
The NXMCallDelegate should be use as the NXMCall delegate.
The NXMCallDelegate notifies on NXMCall object updates.
-
Notify on call member updates
Declaration
Objective-C
- (void)call:(nonnull NXMCall *)call didUpdate:(nonnull NXMMember *)member withStatus:(NXMCallMemberStatus)status;Swift
func call(_ call: NXMCall, didUpdate member: NXMMember, with status: NXMCallMemberStatus)Parameters
callA
NXMCallobject - the call that updatedmemberA
NXMMemberobject - the call member that updatedstatusA
NXMCallMemberStatusstatus -
Notify on call transfer
Declaration
Objective-C
- (void)call:(nonnull NXMCall *)call didTransfer:(nonnull NXMMember *)member event:(nonnull NXMLegTransferEvent *)event;Swift
optional func call(_ call: NXMCall, didTransfer member: NXMMember, event: NXMLegTransferEvent)Parameters
callA
NXMCallobject - the updated call object with the new membership and conversation idmemberA
NXMMemberobject - the user’s member in the transferred calleventA
NXMLegTransferEventobject - the details of previous and current conversation from the transfer event
NXMCallDelegate Protocol Reference