applyStickerEffect method
@hidden for internal use only
@detail api
@author zhushufan.ref
@brief Private method
Set video effects material package.
@param stickerPath effect material package path.
To remove the current video effect, set it to null.
@return
- 0: Success
- 1000: The Effect SDK is not integrated.
- 1001: This API is not available for your Effect SDK.
- <0: Other errors. See Error Code Table.
@note Before calling this method, you must first call enableVideoEffect{@link #ByteRTCVideoEffect#enableVideoEffect}.
Implementation
FutureOr<int> applyStickerEffect(NSString stickerPath) async {
return await nativeCall('applyStickerEffect:', [stickerPath]);
}