Tuya iOS Smart Life App SDK 5.15.0
<ThingSmartCallInterface> Protocol Reference

#import <ThingSmartCallInterface.h>

Inheritance diagram for <ThingSmartCallInterface>:
<ThingSmartCallKitExecuterDelegate> <ThingSmartCallKitExecuterDelegate>

Instance Methods

(instancetype) - initWithCall:
 
(void) - setupCompleted:
 setup some actions before send/receive call,eg:sync device model. More...
 
(void) - callPeerDidRespond
 the peer sent answer or already answered. More...
 
(void) - callEndWithError:
 
(BOOL) - configurateAudioSession
 
(CGFloat) - intervalBeforeInterfaceDismission
 
(void) - executeHeavyTasksCompleted:
 
(NSString *) - targetName
 
(instancetype) - initWithCall:
 
(void) - setupCompleted:
 setup some actions before send/receive call,eg:sync device model. More...
 
(void) - callPeerDidRespond
 the peer sent answer or already answered. More...
 
(void) - callEndWithError:
 
(BOOL) - configurateAudioSession
 
(CGFloat) - intervalBeforeInterfaceDismission
 
(void) - executeHeavyTasksCompleted:
 
(NSString *) - targetName
 
- Instance Methods inherited from <ThingSmartCallKitExecuterDelegate>
(void) - providerDidReset:
 
(void) - providerDidBegin:
 
(BOOL) - providerExecuteTransaction:
 
(void) - providerPerformStartCallAction:
 
(void) - providerPerformAnswerCallAction:
 
(void) - provider:performAnswerCallAction:
 
(void) - providerPerformEndCallAction:
 
(void) - providerPerformSetHeldCallAction:
 
(void) - providerPerformSetMutedCallAction:
 
(void) - providerPerformSetGroupCallAction:
 
(void) - providerPerformPlayDTMFCallAction:
 
(void) - providerTimedOutPerformingAction:
 
(void) - providerDidActivateAudioSession:
 
(void) - providerDidDeactivateAudioSession:
 
(void) - callManagerWithReportNewIncomingCallError:
 
(void) - providerDidReset:
 
(void) - providerDidBegin:
 
(BOOL) - providerExecuteTransaction:
 
(void) - providerPerformStartCallAction:
 
(void) - providerPerformAnswerCallAction:
 
(void) - provider:performAnswerCallAction:
 
(void) - providerPerformEndCallAction:
 
(void) - providerPerformSetHeldCallAction:
 
(void) - providerPerformSetMutedCallAction:
 
(void) - providerPerformSetGroupCallAction:
 
(void) - providerPerformPlayDTMFCallAction:
 
(void) - providerTimedOutPerformingAction:
 
(void) - providerDidActivateAudioSession:
 
(void) - providerDidDeactivateAudioSession:
 
(void) - callManagerWithReportNewIncomingCallError:
 

Properties

id< ThingCallActionExecuteractionExecuter
 send message to the peer by actionExecuter. More...
 
id< ThingSmartCallKitExecutercallKit
 implement ThingSmartCallKitExecuter if use callKit. More...
 

Detailed Description

Definition at line 28 of file ThingSmartCallInterface.h.

Method Documentation

◆ callEndWithError: [1/2]

- (void) callEndWithError: (nullable NSError *)  error

通知界面通话结束

  • Parameter error: 错误

◆ callEndWithError: [2/2]

- (void) callEndWithError: (nullable NSError *)  error

通知界面通话结束

  • Parameter error: 错误

◆ callPeerDidRespond [1/2]

- (void) callPeerDidRespond

the peer sent answer or already answered.

◆ callPeerDidRespond [2/2]

- (void) callPeerDidRespond

the peer sent answer or already answered.

◆ configurateAudioSession [1/2]

- (BOOL) configurateAudioSession
optional

◆ configurateAudioSession [2/2]

- (BOOL) configurateAudioSession
optional

◆ executeHeavyTasksCompleted: [1/2]

- (void) executeHeavyTasksCompleted: (void(^)(NSError *_Nullable error))  completed
optional

◆ executeHeavyTasksCompleted: [2/2]

- (void) executeHeavyTasksCompleted: (void(^)(NSError *_Nullable error))  completed
optional

◆ initWithCall: [1/2]

- (instancetype) initWithCall: (id< ThingSmartCallProtocol >)  call

◆ initWithCall: [2/2]

- (instancetype) initWithCall: (id< ThingSmartCallProtocol >)  call

◆ intervalBeforeInterfaceDismission [1/2]

- (CGFloat) intervalBeforeInterfaceDismission
optional

通知界面通话结束,页面延时关闭 retrun value, dismiss after interval, default 1.5

◆ intervalBeforeInterfaceDismission [2/2]

- (CGFloat) intervalBeforeInterfaceDismission
optional

通知界面通话结束,页面延时关闭 retrun value, dismiss after interval, default 1.5

◆ setupCompleted: [1/2]

- (void) setupCompleted: (void(^)(NSError *error))  completed

setup some actions before send/receive call,eg:sync device model.

◆ setupCompleted: [2/2]

- (void) setupCompleted: (void(^)(NSError *error))  completed

setup some actions before send/receive call,eg:sync device model.

◆ targetName [1/2]

- (NSString *) targetName

◆ targetName [2/2]

- (NSString *) targetName

Property Documentation

◆ actionExecuter

- (id<ThingCallActionExecuter>) actionExecuter
readwritenonatomicweak

send message to the peer by actionExecuter.

Definition at line 31 of file ThingSmartCallInterface.h.

◆ callKit

- (id<ThingSmartCallKitExecuter>) callKit
readwriteoptionalnonatomicstrong

implement ThingSmartCallKitExecuter if use callKit.

Definition at line 60 of file ThingSmartCallInterface.h.


The documentation for this protocol was generated from the following files: