Share via


SyncParams.AllowDefaults Method

Definition

Allows defaults to be returned for properties not set.

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

Returns

this SyncParams 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.SyncParams.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