Share via


SipAudioCall.SetSpeakerMode(Boolean) Method

Definition

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.

Applies to