getFaceShapeBeautyOptions abstract method
Future<FaceShapeBeautyOptions>
getFaceShapeBeautyOptions({
- MediaSourceType type = MediaSourceType.primaryCameraSource,
Gets face shaping effect options.
Call this method to get the current parameter settings of the face shaping effect.
typeThe media source type to which the effect is applied. See MediaSourceType. In this method, this parameter only supports the following two settings: When capturing local video using the camera, keep the default value primaryCameraSource. To use custom captured video, set this parameter to customVideoSource.
Returns Returns a FaceShapeBeautyOptions object if the method call succeeds; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly. See Error Codes for details and resolution suggestions.
Implementation
Future<FaceShapeBeautyOptions> getFaceShapeBeautyOptions(
{MediaSourceType type = MediaSourceType.primaryCameraSource});