Dela via


AudioDeviceInfo.TypeBuiltinSpeakerSafe Field

Definition

Caution

This constant will be removed in the future version. Use Android.Media.AudioDeviceType enum directly instead of this field.

A device type describing the speaker system (i.

[Android.Runtime.Register("TYPE_BUILTIN_SPEAKER_SAFE", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.AudioDeviceType enum directly instead of this field.", true)]
public const Android.Media.AudioDeviceType TypeBuiltinSpeakerSafe = 24;
[<Android.Runtime.Register("TYPE_BUILTIN_SPEAKER_SAFE", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.AudioDeviceType enum directly instead of this field.", true)>]
val mutable TypeBuiltinSpeakerSafe : Android.Media.AudioDeviceType

Field Value

Value = 24
Attributes

Remarks

A device type describing the speaker system (i.e. a mono speaker or stereo speakers) built in a device, that is specifically tuned for outputting sounds like notifications and alarms (i.e. sounds the user couldn't necessarily anticipate).

Note that this physical audio device may be the same as #TYPE_BUILTIN_SPEAKER but is driven differently to safely accommodate the different use case.

Java documentation for android.media.AudioDeviceInfo.TYPE_BUILTIN_SPEAKER_SAFE.

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