Udostępnij za pośrednictwem


Ringtone.AudioAttributes Property

Definition

Returns the AudioAttributes used by this object. -or- Sets the AudioAttributes for this ringtone.

public virtual Android.Media.AudioAttributes? AudioAttributes { [Android.Runtime.Register("getAudioAttributes", "()Landroid/media/AudioAttributes;", "GetGetAudioAttributesHandler")] get; [Android.Runtime.Register("setAudioAttributes", "(Landroid/media/AudioAttributes;)V", "GetSetAudioAttributes_Landroid_media_AudioAttributes_Handler")] set; }
[<get: Android.Runtime.Register("getAudioAttributes", "()Landroid/media/AudioAttributes;", "GetGetAudioAttributesHandler")>]
[<set: Android.Runtime.Register("setAudioAttributes", "(Landroid/media/AudioAttributes;)V", "GetSetAudioAttributes_Landroid_media_AudioAttributes_Handler")>]
member this.AudioAttributes : Android.Media.AudioAttributes with get, set

Property Value

the AudioAttributes that were set with #setAudioAttributes(AudioAttributes) or the default attributes if none were set.

Attributes

Exceptions

Remarks

Property getter documentation:

Returns the AudioAttributes used by this object.

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

Property setter documentation:

Sets the AudioAttributes for this ringtone.

Java documentation for android.media.Ringtone.setAudioAttributes(android.media.AudioAttributes).

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