iOS API
|
Initialize the class to acquire all the services. More...
#import <MobileRTC.h>
Instance Methods | |
(BOOL) | - initialize: |
Call the function to initialize MobileRTC. More... | |
(BOOL) | - switchDomain:force: |
Call the function to switch MobileRTC domain. More... | |
(void) | - setMobileRTCCustomLocalizableName: |
Set the name of Localizable file for MobileRTC. More... | |
(UINavigationController *_Nullable) | - mobileRTCRootController |
Get the root navigation controller of MobileRTC client. More... | |
(void) | - setMobileRTCRootController: |
Set the MobileRTC client root navigation controller. More... | |
(NSString *_Nullable) | - mobileRTCVersion |
Check the MobileRTC version. More... | |
(BOOL) | - isRTCAuthorized |
Query if the MobileRTC is authorized successfully or not. More... | |
(BOOL) | - isSupportedCustomizeMeetingUI |
Query if custom meeting UI is supported by MobileRTC. More... | |
(MobileRTCAuthService *_Nullable) | - getAuthService |
Get the default authentication service. More... | |
(MobileRTCPremeetingService *_Nullable) | - getPreMeetingService |
Get the default pre-meeting service. More... | |
(MobileRTCMeetingService *_Nullable) | - getMeetingService |
Get the default meeting service. More... | |
(MobileRTCMeetingSettings *_Nullable) | - getMeetingSettings |
Get the MobileRTC default meeting settings. More... | |
(MobileRTCAnnotationService *_Nullable) | - getAnnotationService |
Get the MobileRTC default annotation service. More... | |
(MobileRTCRemoteControlService *_Nullable) | - getRemoteControlService |
Get the default MobileRTC remote control service. More... | |
(MobileRTCWaitingRoomService *_Nullable) | - getWaitingRoomService |
Get the default MobileRTC waiting room service. More... | |
(MobileRTCSMSService *_Nullable) | - getSMSService |
Get the default MobileRTC sms service. More... | |
(MobileRTCDirectShareService *_Nullable) | - getDirectShareService |
Get the default MobileRTC direct share service. More... | |
(NSArray *_Nonnull) | - supportedLanguages |
Get the languages supported by MobileRTC. More... | |
(void) | - setLanguage: |
Set the MobileRTC language. More... | |
(void) | - appWillResignActive |
Notify common layer that application will resign active. Call the systematical method and then call the appWillResignActive via applicationWillResignActive. More... | |
(void) | - appDidBecomeActive |
Notify common layer that application did become active. Call the appDidBecomeActive via applicationDidBecomeActive. More... | |
(void) | - appDidEnterBackgroud |
Notify common layer that application did enter background. Call the appDidEnterBackgroud via applicationDidEnterBackground. More... | |
(void) | - appWillTerminate |
Notify common layer that application will terminate. Call the appWillTerminate via applicationWillTerminate. More... | |
(void) | - willTransitionToTraitCollection:withTransitionCoordinator: |
Notify MobileRTC when the root UIViewController's traitCollection will change. More... | |
(void) | - viewWillTransitionToSize:withTransitionCoordinator: |
Notify MobileRTC when the root UIViewController's view size will change. More... | |
(BOOL) | - hasRawDataLicense |
Gets whether you have permission to use raw data. More... | |
(MobileRTCVideoSourceHelper *_Nullable) | - getVideoSourceHelper |
Get the video source helper. More... | |
Class Methods | |
(MobileRTC *_Nonnull) | + sharedRTC |
Call the function to get the MobileRTC client. More... | |
Protected Attributes | |
NSString * | _mobileRTCDomain |
NSString * | _mobileRTCResPath |
NSString * | _mobileRTCCustomLocalizableName |
MobileRTCMeetingService * | _meetingService |
MobileRTCMeetingSettings * | _meetingSettings |
MobileRTCAuthService * | _authService |
MobileRTCPremeetingService * | _premeetingService |
MobileRTCAnnotationService * | _annotationService |
MobileRTCRemoteControlService * | _remoteControlService |
MobileRTCWaitingRoomService * | _waitingRoomService |
MobileRTCSMSService * | _smsService |
MobileRTCDirectShareService * | _directShareService |
MobileRTCVideoSourceHelper * | _videoSourceHelper |
Properties | |
NSString *_Nullable | mobileRTCDomain |
MobileRTC domain, read-only. | |
NSString *_Nullable | mobileRTCResPath |
The path of MobileRTC Resources Bundle, read-only. | |
NSString *_Nullable | mobileRTCCustomLocalizableName |
The name of APP Localizable file for MobileRTC, read-only. | |
Initialize the class to acquire all the services.
- (void) appDidBecomeActive |
Notify common layer that application did become active. Call the appDidBecomeActive via applicationDidBecomeActive.
- (void) appDidEnterBackgroud |
Notify common layer that application did enter background. Call the appDidEnterBackgroud via applicationDidEnterBackground.
- (void) appWillResignActive |
Notify common layer that application will resign active. Call the systematical method and then call the appWillResignActive via applicationWillResignActive.
- (void) appWillTerminate |
Notify common layer that application will terminate. Call the appWillTerminate via applicationWillTerminate.
- (MobileRTCAnnotationService * _Nullable) getAnnotationService |
Get the MobileRTC default annotation service.
- (MobileRTCAuthService * _Nullable) getAuthService |
Get the default authentication service.
- (MobileRTCDirectShareService * _Nullable) getDirectShareService |
- (MobileRTCMeetingService * _Nullable) getMeetingService |
Get the default meeting service.
- (MobileRTCMeetingSettings * _Nullable) getMeetingSettings |
- (MobileRTCPremeetingService * _Nullable) getPreMeetingService |
Get the default pre-meeting service.
- (MobileRTCRemoteControlService * _Nullable) getRemoteControlService |
Get the default MobileRTC remote control service.
- (MobileRTCSMSService * _Nullable) getSMSService |
- (MobileRTCVideoSourceHelper * _Nullable) getVideoSourceHelper |
Get the video source helper.
- (MobileRTCWaitingRoomService * _Nullable) getWaitingRoomService |
- (BOOL) hasRawDataLicense |
Gets whether you have permission to use raw data.
- (BOOL) initialize: | (MobileRTCSDKInitContext *_Nonnull) | context |
Call the function to initialize MobileRTC.
context | Initialize the parameter configuration of the SDK, please See [MobileRTCSDKInitContext] |
- (BOOL) isRTCAuthorized |
Query if the MobileRTC is authorized successfully or not.
- (BOOL) isSupportedCustomizeMeetingUI |
Query if custom meeting UI is supported by MobileRTC.
- (UINavigationController * _Nullable) mobileRTCRootController |
Get the root navigation controller of MobileRTC client.
- (NSString * _Nullable) mobileRTCVersion |
- (void) setLanguage: | (NSString *_Nullable) | lang |
- (void) setMobileRTCCustomLocalizableName: | (NSString *_Nullable) | localizableName |
- (void) setMobileRTCRootController: | (UINavigationController *_Nullable) | navController |
+ (MobileRTC * _Nonnull) sharedRTC |
- (NSArray * _Nonnull) supportedLanguages |
- (BOOL) switchDomain: | (NSString *_Nonnull) | newDomain | |
force: | (BOOL) | force | |
Call the function to switch MobileRTC domain.
newDomain | The new domain. |
- (void) viewWillTransitionToSize: | (CGSize) | size | |
withTransitionCoordinator: | (id< UIViewControllerTransitionCoordinator >_Nullable) | coordinator | |
Notify MobileRTC when the root UIViewController's view size will change.
size | The first parameter of viewWillTransitionToSize:withTransitionCoordinator. |
coordinator | the second parameter of viewWillTransitionToSize:withTransitionCoordinator. |
- (void) willTransitionToTraitCollection: | (UITraitCollection *_Nullable) | newCollection | |
withTransitionCoordinator: | (id< UIViewControllerTransitionCoordinator >_Nullable) | coordinator | |
Notify MobileRTC when the root UIViewController's traitCollection will change.
newCollection | The first parameter of willTransitionToTraitCollection:withTransitionCoordinator which is UIContentContainer method. |
coordinator | The second parameter of willTransitionToTraitCollection:withTransitionCoordinator which is UIContentContainer method. |