我正在尝试在Xamarin中执行以下AudioToolbox AudioSessionSetProperty。
UInt32 allowBluetoothInput = 1;
error = AudioSessionSetProperty (
kAudioSessionProperty_OverrideCategoryEnableBluetoothInput,
sizeof (allowBluetoothInput),
&allowBluetoothInput);
if (error) printf("couldn't set Bluetooth Input!");
有谁知道这是怎么做到的吗?先感谢您。
那将是:
AudioSession.OverrideCategoryEnableBluetoothInput = true;
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句