SipAudioCall.SetSpeakerMode(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Puts the device to speaker mode.
[Android.Runtime.Register("setSpeakerMode", "(Z)V", "GetSetSpeakerMode_ZHandler")]
public virtual void SetSpeakerMode (bool speakerMode);
[<Android.Runtime.Register("setSpeakerMode", "(Z)V", "GetSetSpeakerMode_ZHandler")>]
abstract member SetSpeakerMode : bool -> unit
override this.SetSpeakerMode : bool -> unit
Parameters
- speakerMode
- Boolean
set true to enable speaker mode; false to disable
- Attributes
Remarks
Puts the device to speaker mode. <p class="note"><strong>Note:</strong> Requires the android.Manifest.permission#MODIFY_AUDIO_SETTINGS
permission.</p>
Java documentation for android.net.sip.SipAudioCall.setSpeakerMode(boolean)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.