PlaybackParams.AllowDefaults Method

Definition

Allows defaults to be returned for properties not set.

[Android.Runtime.Register("allowDefaults", "()Landroid/media/PlaybackParams;", "", ApiSince=23)]
public Android.Media.PlaybackParams? AllowDefaults ();
[<Android.Runtime.Register("allowDefaults", "()Landroid/media/PlaybackParams;", "", ApiSince=23)>]
member this.AllowDefaults : unit -> Android.Media.PlaybackParams

Returns

this PlaybackParams instance.

Attributes

Remarks

Allows defaults to be returned for properties not set. Otherwise a java.lang.IllegalArgumentException exception is raised when getting those properties which have defaults but have never been set.

Java documentation for android.media.PlaybackParams.allowDefaults().

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