|
Meeting SDK for iOS API Reference
|
Initialize the class to acquire all the services. More...
#include <MobileRTC.h>
Inherits NSObject.
Instance Methods | |
| (BOOL) | - initialize: |
| Call the function to initialize MobileRTC. | |
| (BOOL) | - switchDomain:force: |
| Call the function to switch MobileRTC domain. | |
| (void) | - setMobileRTCCustomLocalizableName: |
| Set the name of Localizable file for MobileRTC. | |
| (UINavigationController *_Nullable) | - mobileRTCRootController |
| Get the root navigation controller of MobileRTC client. | |
| (void) | - setMobileRTCRootController: |
| Set the MobileRTC client root navigation controller. | |
| (UIScene *_Nullable) | - mobileRTCPresentationScene |
| Get the presentation scene of MobileRTC client. | |
| (void) | - setMobileRTCPresentationScene: |
Sets the UIScene context used by the SDK. In multi-scene environments, an application may create multiple UIScene instances. This method allows you to provide the SDK with the specific scene it should use for presenting UI, handling lifecycle events, or associating with the application’s environment. | |
| (NSString *_Nullable) | - mobileRTCVersion |
| Check the MobileRTC version. | |
| (BOOL) | - isRTCAuthorized |
| Query if the MobileRTC is authorized successfully or not. | |
| (BOOL) | - isSupportedCustomizeMeetingUI |
| Query if custom meeting UI is supported by MobileRTC. | |
| (BOOL) | - isEnabledCustomizeMeetingUI |
| Query if custom meeting UI is enable by MobileRTC. | |
| (MobileRTCAuthService *_Nullable) | - getAuthService |
| Get the default authentication service. | |
| (MobileRTCMeetingService *_Nullable) | - getMeetingService |
| Get the default meeting service. | |
| (MobileRTCMeetingSettings *_Nullable) | - getMeetingSettings |
| Get the MobileRTC default meeting settings. | |
| (MobileRTCAnnotationService *_Nullable) | - getAnnotationService |
| Get the MobileRTC default annotation service. | |
| (MobileRTCRemoteControlService *_Nullable) | - getRemoteControlService |
| Get the default MobileRTC remote control service. | |
| (MobileRTCCameraControlService *_Nullable) | - getCameraControlService: |
| Get the default MobileRTC camera control service. | |
| (MobileRTCSDKError) | - revokeCameraControlPrivilege |
| Revoke camera control privilege. | |
| (MobileRTCWaitingRoomService *_Nullable) | - getWaitingRoomService |
| Get the default MobileRTC waiting room service. | |
| (MobileRTCSMSService *_Nullable) | - getSMSService |
| Get the default MobileRTC sms service. | |
| (MobileRTCDirectShareService *_Nullable) | - getDirectShareService |
| Get the default MobileRTC direct share service. | |
| (MobileRTCReminderHelper *_Nullable) | - getReminderHelper |
| Get the default MobileRTC reminder helper. | |
| (MobileRTCVideoSourceHelper *_Nullable) | - getVideoSourceHelper |
| Get the video source helper. | |
| (MobileRTCShareSourceHelper *_Nullable) | - getShareSourceHelper |
| Get the video source helper. | |
| (NSArray< NSString * > *_Nonnull) | - supportedLanguages |
| Get the languages supported by MobileRTC. | |
| (void) | - setLanguage: |
| Set the MobileRTC language. | |
| (void) | - appWillResignActive |
| Notify common layer that application will resign active. Call the systematical method and then call the appWillResignActive via applicationWillResignActive. | |
| (void) | - appDidBecomeActive |
| Notify common layer that application did become active. Call the appDidBecomeActive via applicationDidBecomeActive. | |
| (void) | - appDidEnterBackground |
| Notify common layer that application did enter background. Call the appDidEnterBackground via applicationDidEnterBackground. | |
| (void) | - appWillTerminate |
| Notify common layer that application will terminate. Call the appWillTerminate via applicationWillTerminate. | |
| (void) | - cleanup |
| Cleanup the SDK. | |
| (void) | - willTransitionToTraitCollection:withTransitionCoordinator: |
| Notify MobileRTC when the root UIViewController's traitCollection will change. | |
| (void) | - viewWillTransitionToSize:withTransitionCoordinator: |
| Notify MobileRTC when the root UIViewController's view size will change. | |
| (BOOL) | - hasRawDataLicense |
| Gets whether you have permission to use raw data. | |
Class Methods | |
| (MobileRTC *_Nonnull) | + sharedRTC |
| Call the function to get the MobileRTC client. | |
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.
Definition at line 116 of file MobileRTC.h.
| - (void) appDidBecomeActive |
Notify common layer that application did become active. Call the appDidBecomeActive via applicationDidBecomeActive.
| - (void) appDidEnterBackground |
Notify common layer that application did enter background. Call the appDidEnterBackground 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.
| - (void) cleanup |
Cleanup the SDK.
| - (MobileRTCAnnotationService *_Nullable) getAnnotationService |
Get the MobileRTC default annotation service.
| - (MobileRTCAuthService *_Nullable) getAuthService |
Get the default authentication service.
| - (MobileRTCCameraControlService *_Nullable) getCameraControlService: | (NSInteger) | userId |
Get the default MobileRTC camera control service.
| - (MobileRTCDirectShareService *_Nullable) getDirectShareService |
| - (MobileRTCMeetingService *_Nullable) getMeetingService |
Get the default meeting service.
| - (MobileRTCMeetingSettings *_Nullable) getMeetingSettings |
| - (MobileRTCReminderHelper *_Nullable) getReminderHelper |
| - (MobileRTCRemoteControlService *_Nullable) getRemoteControlService |
Get the default MobileRTC remote control service.
| - (MobileRTCShareSourceHelper *_Nullable) getShareSourceHelper |
Get the video source helper.
| - (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) isEnabledCustomizeMeetingUI |
Query if custom meeting UI is enable by MobileRTC.
| - (BOOL) isRTCAuthorized |
Query if the MobileRTC is authorized successfully or not.
| - (BOOL) isSupportedCustomizeMeetingUI |
Query if custom meeting UI is supported by MobileRTC.
| - (UIScene *_Nullable) mobileRTCPresentationScene |
| - (UINavigationController *_Nullable) mobileRTCRootController |
Get the root navigation controller of MobileRTC client.
| - (NSString *_Nullable) mobileRTCVersion |
| - (MobileRTCSDKError) revokeCameraControlPrivilege |
Revoke camera control privilege.
| - (void) setLanguage: | (NSString *_Nullable) | lang |
| - (void) setMobileRTCCustomLocalizableName: | (NSString *_Nullable) | localizableName |
| - (void) setMobileRTCPresentationScene: | (UIScene *_Nonnull) | scene |
Sets the UIScene context used by the SDK. In multi-scene environments, an application may create multiple UIScene instances. This method allows you to provide the SDK with the specific scene it should use for presenting UI, handling lifecycle events, or associating with the application’s environment.
| scene | The UIScene instance to be used by the SDK. |
| - (void) setMobileRTCRootController: | (UINavigationController *_Nullable) | navController |
Set the MobileRTC client root navigation controller.
| navController | The root navigation controller for pushing MobileRTC meeting UI. |
| + (MobileRTC *_Nonnull) sharedRTC |
| - (NSArray< NSString * > *_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. |
|
readnonatomiccopy |
The name of APP Localizable file for MobileRTC, read-only.
Definition at line 130 of file MobileRTC.h.
|
readnonatomiccopy |
MobileRTC domain, read-only.
Definition at line 120 of file MobileRTC.h.
|
readnonatomiccopy |
The path of MobileRTC Resources Bundle, read-only.
Definition at line 125 of file MobileRTC.h.