共用方式為


Context.UsageStatsService Field

Definition

Use with #getSystemService(String) to retrieve a android.app.usage.UsageStatsManager for querying device usage stats.

[Android.Runtime.Register("USAGE_STATS_SERVICE", ApiSince=22)]
public const string UsageStatsService;
[<Android.Runtime.Register("USAGE_STATS_SERVICE", ApiSince=22)>]
val mutable UsageStatsService : string

Field Value

Attributes

Remarks

Use with #getSystemService(String) to retrieve a android.app.usage.UsageStatsManager for querying device usage stats.

Java documentation for android.content.Context.USAGE_STATS_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