Freigeben über


DropBoxManager.IsTagEnabled(String) Method

Definition

Checks any blacklists (set in system settings) to see whether a certain tag is allowed.

[Android.Runtime.Register("isTagEnabled", "(Ljava/lang/String;)Z", "GetIsTagEnabled_Ljava_lang_String_Handler")]
public virtual bool IsTagEnabled (string? tag);
[<Android.Runtime.Register("isTagEnabled", "(Ljava/lang/String;)Z", "GetIsTagEnabled_Ljava_lang_String_Handler")>]
abstract member IsTagEnabled : string -> bool
override this.IsTagEnabled : string -> bool

Parameters

tag
String

that would be used in #addText or #addFile

Returns

whether events with that tag would be accepted

Attributes

Remarks

Checks any blacklists (set in system settings) to see whether a certain tag is allowed. Entries with disabled tags will be dropped immediately, so you can save the work of actually constructing and sending the data.

Java documentation for android.os.DropBoxManager.isTagEnabled(java.lang.String).

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