共用方式為


Context.StatusBarService Field

Definition

Use with #getSystemService(String) to retrieve a android.app.StatusBarManager for interacting with the status bar and quick settings.

[Android.Runtime.Register("STATUS_BAR_SERVICE", ApiSince=33)]
public const string StatusBarService;
[<Android.Runtime.Register("STATUS_BAR_SERVICE", ApiSince=33)>]
val mutable StatusBarService : string

Field Value

Attributes

Remarks

Use with #getSystemService(String) to retrieve a android.app.StatusBarManager for interacting with the status bar and quick settings.

Java documentation for android.content.Context.STATUS_BAR_SERVICE.

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