|
Meeting SDK for iOS API Reference
|
Context interface for configuring custom 3D avatar elements during avatar creation or editing. More...
#include <MobileRTCCustom3DAvatarElementSettingContext.h>
Inherits NSObject.
Instance Methods | |
| (void) | - setDelegate: |
| Custom 3D avatar element setting callback handler. | |
| (NSArray< MobileRTCCustom3DAvatarElementImageInfo * > *_Nullable) | - getCustom3DAvatarElementImageList |
| Get the list of available custom 3D avatar element images. | |
| (MobileRTCSDKError) | - setCustom3DAvatarElementImage: |
| Apply a custom 3D avatar element image to the avatar being created or edited. | |
| (BOOL) | - isCustom3DAvatarElementImageModelDataReady: |
| Checks whether the model data for a specific custom 3D avatar element image has been fully downloaded and is ready for use. Before an avatar element image can be applied, its model data must be fully downloaded and ready. | |
| (MobileRTCSDKError) | - downloadCustom3dAvatarElementImageModelData: |
| Download the model data required for a specific custom 3D avatar element image. This should be called if isCustom3DAvatarElementImageModelDataReady returns NO for the specified image. | |
| (NSArray< MobileRTCCustom3DAvatarElementColorInfo * > *_Nullable) | - getCustom3DAvatarElementColorList |
| Get the list of custom 3D avatar element colors. | |
| (MobileRTCSDKError) | - setCustom3DAvatarElementColor: |
| Apply a color to the avatar being created or edited. | |
Context interface for configuring custom 3D avatar elements during avatar creation or editing.
These interfaces are provided after calling startCreateCustom3DAvatarWithPreviewView or startEditCustom3DAvatarWithPreviewView, and is used to configure the visual elements of a custom 3D avatar, such as:
The context represents an active avatar creation or editing session. All settings applied through this interface affect the currently creating or editing custom 3D avatar.
Definition at line 108 of file MobileRTCCustom3DAvatarElementSettingContext.h.
| - (MobileRTCSDKError) downloadCustom3dAvatarElementImageModelData: | (MobileRTCCustom3DAvatarElementImageInfo *_Nullable) | imageInfo |
Download the model data required for a specific custom 3D avatar element image. This should be called if isCustom3DAvatarElementImageModelDataReady returns NO for the specified image.
| imageInfo | The custom 3D avatar element image info object. |
| - (NSArray< MobileRTCCustom3DAvatarElementColorInfo * > *_Nullable) getCustom3DAvatarElementColorList |
Get the list of custom 3D avatar element colors.
References getCustom3DAvatarElementColorList.
Referenced by getCustom3DAvatarElementColorList.
| - (NSArray< MobileRTCCustom3DAvatarElementImageInfo * > *_Nullable) getCustom3DAvatarElementImageList |
Get the list of available custom 3D avatar element images.
References getCustom3DAvatarElementImageList.
Referenced by getCustom3DAvatarElementImageList.
| - (BOOL) isCustom3DAvatarElementImageModelDataReady: | (MobileRTCCustom3DAvatarElementImageInfo *_Nullable) | imageInfo |
Checks whether the model data for a specific custom 3D avatar element image has been fully downloaded and is ready for use. Before an avatar element image can be applied, its model data must be fully downloaded and ready.
| imageInfo | The custom 3D avatar element image info object. |
| - (MobileRTCSDKError) setCustom3DAvatarElementColor: | (MobileRTCCustom3DAvatarElementColorInfo *_Nullable) | colorInfo |
Apply a color to the avatar being created or edited.
| colorInfo | The custom 3D avatar element color info object to apply. |
| - (MobileRTCSDKError) setCustom3DAvatarElementImage: | (MobileRTCCustom3DAvatarElementImageInfo *_Nullable) | imageInfo |
Apply a custom 3D avatar element image to the avatar being created or edited.
| imageInfo | The custom 3D avatar element image info object to apply. |
| - (void) setDelegate: | (id< MobileRTCCustom3DAvatarElementSettingContextDelegate > _Nullable) | delegate |
Custom 3D avatar element setting callback handler.
| delegate | The delegate object that receives custom 3D avatar element setting events. |