共用方式為


URLConnection.AllowUserInteraction Property

Definition

Returns the value of the allowUserInteraction field for this object. -or- Set the value of the allowUserInteraction field of this URLConnection.

public virtual bool AllowUserInteraction { [Android.Runtime.Register("getAllowUserInteraction", "()Z", "GetGetAllowUserInteractionHandler")] get; [Android.Runtime.Register("setAllowUserInteraction", "(Z)V", "GetSetAllowUserInteraction_ZHandler")] set; }
[<get: Android.Runtime.Register("getAllowUserInteraction", "()Z", "GetGetAllowUserInteractionHandler")>]
[<set: Android.Runtime.Register("setAllowUserInteraction", "(Z)V", "GetSetAllowUserInteraction_ZHandler")>]
member this.AllowUserInteraction : bool with get, set

Property Value

the value of the allowUserInteraction field for this object.

Attributes

Remarks

Property getter documentation:

Returns the value of the allowUserInteraction field for this object.

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

Property setter documentation:

Set the value of the allowUserInteraction field of this URLConnection.

Java documentation for java.net.URLConnection.setAllowUserInteraction(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