Tuya iOS Smart Life App SDK 5.15.0
ThingSmartCallChannel Class Reference

#import <ThingSmartCallChannel.h>

Inheritance diagram for ThingSmartCallChannel:

Instance Methods

(void) - launch
 launch services, call firstly. More...
 
(BOOL) - registerCallInterfaceManager:
 
(BOOL) - unregisterCallInterfaceManager:
 
(void) - resubscribeMQTTUserTopic
 if subscribe failed, can call it. More...
 
(void) - fetchDeviceCallAbilityByDevId:completion:
 fetch device call ability from cloud, which is dependent on device's ability and product's advanced ability. More...
 
(BOOL) - isOnCalling
 whether app is on calling More...
 
(BOOL) - canStartCall
 whether app can start call More...
 
(void) - startCallWithTargetId:timeout:extra:success:failure:
 start call More...
 
(BOOL) - addDelegate:
 add delegate More...
 
(BOOL) - removeDelegate:
 remove delegate More...
 
(void) - handlePushMessage:
 deal with push/VoIP message More...
 
(void) - launch
 launch services, call firstly. More...
 
(BOOL) - registerCallInterfaceManager:
 
(BOOL) - unregisterCallInterfaceManager:
 
(void) - resubscribeMQTTUserTopic
 if subscribe failed, can call it. More...
 
(void) - fetchDeviceCallAbilityByDevId:completion:
 fetch device call ability from cloud, which is dependent on device's ability and product's advanced ability. More...
 
(BOOL) - isOnCalling
 whether app is on calling More...
 
(BOOL) - canStartCall
 whether app can start call More...
 
(void) - startCallWithTargetId:timeout:extra:success:failure:
 start call More...
 
(BOOL) - addDelegate:
 add delegate More...
 
(BOOL) - removeDelegate:
 remove delegate More...
 
(void) - handlePushMessage:
 deal with push/VoIP message More...
 

Properties

ThingSmartCallChannelsharedInstance
 
id< ThingSmartCallChannelDataSourcedataSource
 
NSArray< id< ThingCallInterfaceManager > > * callInterfaceManagers
 

Detailed Description

Definition at line 47 of file ThingSmartCallChannel.h.

Method Documentation

◆ addDelegate: [1/2]

- (BOOL) addDelegate: (id< ThingSmartCallChannelDelegate >)  delegate

add delegate

◆ addDelegate: [2/2]

- (BOOL) addDelegate: (id< ThingSmartCallChannelDelegate >)  delegate

add delegate

◆ canStartCall [1/2]

- (BOOL) canStartCall

whether app can start call

◆ canStartCall [2/2]

- (BOOL) canStartCall

whether app can start call

◆ fetchDeviceCallAbilityByDevId:completion: [1/2]

- (void) fetchDeviceCallAbilityByDevId: (NSString *)  devId
completion: (ThingSmartCallFetchCompletion completion 

fetch device call ability from cloud, which is dependent on device's ability and product's advanced ability.

◆ fetchDeviceCallAbilityByDevId:completion: [2/2]

- (void) fetchDeviceCallAbilityByDevId: (NSString *)  devId
completion: (ThingSmartCallFetchCompletion completion 

fetch device call ability from cloud, which is dependent on device's ability and product's advanced ability.

◆ handlePushMessage: [1/2]

- (void) handlePushMessage: (NSDictionary *)  message

deal with push/VoIP message

◆ handlePushMessage: [2/2]

- (void) handlePushMessage: (NSDictionary *)  message

deal with push/VoIP message

◆ isOnCalling [1/2]

- (BOOL) isOnCalling

whether app is on calling

◆ isOnCalling [2/2]

- (BOOL) isOnCalling

whether app is on calling

◆ launch [1/2]

- (void) launch

launch services, call firstly.

◆ launch [2/2]

- (void) launch

launch services, call firstly.

◆ registerCallInterfaceManager: [1/2]

- (BOOL) registerCallInterfaceManager: (id< ThingCallInterfaceManager >)  callInterfaceManager

register call interface manager, interface manager generate/present/dismiss call interface, if call interface manager or identifier is invalid, return false, weak reference.

◆ registerCallInterfaceManager: [2/2]

- (BOOL) registerCallInterfaceManager: (id< ThingCallInterfaceManager >)  callInterfaceManager

register call interface manager, interface manager generate/present/dismiss call interface, if call interface manager or identifier is invalid, return false, weak reference.

◆ removeDelegate: [1/2]

- (BOOL) removeDelegate: (id< ThingSmartCallChannelDelegate >)  delegate

remove delegate

◆ removeDelegate: [2/2]

- (BOOL) removeDelegate: (id< ThingSmartCallChannelDelegate >)  delegate

remove delegate

◆ resubscribeMQTTUserTopic [1/2]

- (void) resubscribeMQTTUserTopic

if subscribe failed, can call it.

◆ resubscribeMQTTUserTopic [2/2]

- (void) resubscribeMQTTUserTopic

if subscribe failed, can call it.

◆ startCallWithTargetId:timeout:extra:success:failure: [1/2]

- (void) startCallWithTargetId: (NSString *)  targetId
timeout: (NSInteger)  timeout
extra: (NSDictionary *)  extra
success: (nullable ThingSmartCallSuccess success
failure: (nullable ThingSmartCallFailure failure 

start call

◆ startCallWithTargetId:timeout:extra:success:failure: [2/2]

- (void) startCallWithTargetId: (NSString *)  targetId
timeout: (NSInteger)  timeout
extra: (NSDictionary *)  extra
success: (nullable ThingSmartCallSuccess success
failure: (nullable ThingSmartCallFailure failure 

start call

◆ unregisterCallInterfaceManager: [1/2]

- (BOOL) unregisterCallInterfaceManager: (id< ThingCallInterfaceManager >)  callInterfaceManager

◆ unregisterCallInterfaceManager: [2/2]

- (BOOL) unregisterCallInterfaceManager: (id< ThingCallInterfaceManager >)  callInterfaceManager

Property Documentation

◆ callInterfaceManagers

- (NSArray< id< ThingCallInterfaceManager > > *) callInterfaceManagers
readnonatomiccopy

Definition at line 60 of file ThingSmartCallChannel.h.

◆ dataSource

- (id< ThingSmartCallChannelDataSource >) dataSource
readwritenonatomicweak

Definition at line 51 of file ThingSmartCallChannel.h.

◆ sharedInstance

- (ThingSmartCallChannel *) sharedInstance
readnonatomicstrong

Definition at line 49 of file ThingSmartCallChannel.h.


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