AudioManager.ActionSpeakerphoneStateChanged Field

Definition

Broadcast Action: speakerphone state changed.

[Android.Runtime.Register("ACTION_SPEAKERPHONE_STATE_CHANGED", ApiSince=29)]
public const string ActionSpeakerphoneStateChanged;
[<Android.Runtime.Register("ACTION_SPEAKERPHONE_STATE_CHANGED", ApiSince=29)>]
val mutable ActionSpeakerphoneStateChanged : string

Field Value

Attributes

Remarks

Broadcast Action: speakerphone state changed.

You <em>cannot</em> receive this through components declared in manifests, only by explicitly registering for it with Context#registerReceiver(BroadcastReceiver, IntentFilter) Context.registerReceiver().

The intent has no extra values, use #isSpeakerphoneOn to check whether the speakerphone functionality is enabled or not.

Java documentation for android.media.AudioManager.ACTION_SPEAKERPHONE_STATE_CHANGED.

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