Partager via


Context.RoleService Field

Definition

Use with #getSystemService(String) to retrieve a android.app.role.RoleManager for managing roles.

[Android.Runtime.Register("ROLE_SERVICE", ApiSince=29)]
public const string RoleService;
[<Android.Runtime.Register("ROLE_SERVICE", ApiSince=29)>]
val mutable RoleService : string

Field Value

Attributes

Remarks

Use with #getSystemService(String) to retrieve a android.app.role.RoleManager for managing roles.

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