setExtensionProperty abstract method
Future<void>
setExtensionProperty({
- required String provider,
- required String extension,
- required String key,
- required String value,
- MediaSourceType type = MediaSourceType.unknownMediaSource,
Sets the properties of the extension.
After enabling the extension, you can call this method to set the properties of the extension.
providerThe name of the extension provider.extensionThe name of the extension.keyThe key of the extension.valueThe value of the extension key.typeSource type of the extension. See MediaSourceType.
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.
Implementation
Future<void> setExtensionProperty(
{required String provider,
required String extension,
required String key,
required String value,
MediaSourceType type = MediaSourceType.unknownMediaSource});