URLConnection.DefaultAllowUserInteraction Property

Definition

Returns the default value of the allowUserInteraction field. -or- Sets the default value of the allowUserInteraction field for all future URLConnection objects to the specified value.

public static bool DefaultAllowUserInteraction { [Android.Runtime.Register("getDefaultAllowUserInteraction", "()Z", "")] get; [Android.Runtime.Register("setDefaultAllowUserInteraction", "(Z)V", "")] set; }
[<get: Android.Runtime.Register("getDefaultAllowUserInteraction", "()Z", "")>]
[<set: Android.Runtime.Register("setDefaultAllowUserInteraction", "(Z)V", "")>]
static member DefaultAllowUserInteraction : bool with get, set

Property Value

the default value of the allowUserInteraction field.

Attributes

Remarks

Property getter documentation:

Returns the default value of the allowUserInteraction field.

Ths default is "sticky", being a part of the static state of all URLConnections. This flag applies to the next, and all following URLConnections that are created.

Java documentation for java.net.URLConnection.getDefaultAllowUserInteraction().

Property setter documentation:

Sets the default value of the allowUserInteraction field for all future URLConnection objects to the specified value.

Java documentation for java.net.URLConnection.setDefaultAllowUserInteraction(boolean).

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