Ringtone.StreamType Property

Definition

Caution

deprecated

Gets the stream type where this ringtone will be played. -or- Sets the stream type where this ringtone will be played.

[System.Obsolete("deprecated")]
public virtual Android.Media.Stream StreamType { [Android.Runtime.Register("getStreamType", "()I", "GetGetStreamTypeHandler")] get; [Android.Runtime.Register("setStreamType", "(I)V", "GetSetStreamType_IHandler")] set; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getStreamType", "()I", "GetGetStreamTypeHandler")>]
[<set: Android.Runtime.Register("setStreamType", "(I)V", "GetSetStreamType_IHandler")>]
member this.StreamType : Android.Media.Stream with get, set

Property Value

The stream type, see AudioManager.

Attributes

Remarks

Property getter documentation:

Gets the stream type where this ringtone will be played.

This member is deprecated. use of stream types is deprecated, see #setAudioAttributes(AudioAttributes)

Java documentation for android.media.Ringtone.getStreamType().

Property setter documentation:

Sets the stream type where this ringtone will be played.

This member is deprecated. use #setAudioAttributes(AudioAttributes)

Java documentation for android.media.Ringtone.setStreamType(int).

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