Język

StatusBarManager.CanSetAgentTask Method

Definition

Indicates whether the caller can currently set agent tasks in the status bar.

[Android.Runtime.Register("canSetAgentTask", "()Z", "GetCanSetAgentTaskHandler", ApiSince=37)]
public virtual bool CanSetAgentTask();
[<Android.Runtime.Register("canSetAgentTask", "()Z", "GetCanSetAgentTaskHandler", ApiSince=37)>]
abstract member CanSetAgentTask : unit -> bool
override this.CanSetAgentTask : unit -> bool

Returns

true if this app can currently send requests to modify the agents space, and the user has currently authorized this.

Attributes

Applies to