URLConnection.DefaultAllowUserInteraction 屬性

定義

回傳欄位的 allowUserInteraction 預設值。 -或- 將所有未來URLConnection物件欄位的預設值allowUserInteraction設為指定值。

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

屬性值

欄位的 allowUserInteraction 預設值。

屬性

備註

財產取得者文件:

回傳欄位的 allowUserInteraction 預設值。

預設是「黏著」的,是所有 URL Connection 靜態狀態的一部分。 此旗標適用於下一個,以及所有後續建立的 URLConnection。

Java 文件 java.net.URLConnection.getDefaultAllowUserInteraction()

屬性設定文件:

將所有未來URLConnection物件欄位的預設值allowUserInteraction設為指定值。

Java 文件 java.net.URLConnection.setDefaultAllowUserInteraction(boolean)

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於