Reputation: 426
I'm trying to do the following AudioToolbox AudioSessionSetProperty in Xamarin.
UInt32 allowBluetoothInput = 1;
error = AudioSessionSetProperty (
kAudioSessionProperty_OverrideCategoryEnableBluetoothInput,
sizeof (allowBluetoothInput),
&allowBluetoothInput);
if (error) printf("couldn't set Bluetooth Input!");
Does anyone know how to do that? Thank you in advance.
Upvotes: 4
Views: 180
Reputation: 43553
That would be:
AudioSession.OverrideCategoryEnableBluetoothInput = true;
Upvotes: 3