startWithOptions method
Starts the audio capture with granular, fully-customized native options.
Implementation
Future<bool> startWithOptions(
AudioOptions options, {
bool autoRequestPermission = true,
}) async {
if (autoRequestPermission) {
final granted = await NexoraSdkPlatform.instance.requestAudioPermission();
if (!granted) return false;
}
final success = await NexoraSdkPlatform.instance.startAudioWithOptions(
options,
);
if (success) {
_isRunning = true;
}
return success;
}