ServiceAttribute クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
/manifest/application/service内でAndroidManifest.xml要素を生成します。
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
[System.Serializable]
public sealed class ServiceAttribute : Attribute, Java.Interop.IJniNameProviderAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)>]
[<System.Serializable>]
type ServiceAttribute = class
inherit Attribute
interface IJniNameProviderAttribute
- 継承
-
ServiceAttribute
- 属性
- 実装
注釈
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
コンストラクター
| 名前 | 説明 |
|---|---|
| ServiceAttribute() |
新しい ServiceAttribute インスタンスを構築して初期化します。 |
プロパティ
| 名前 | 説明 |
|---|---|
| Description |
|
| DirectBootAware |
|
| Enabled |
サービスをシステムによってインスタンス化できるかどうか。 |
| Exported |
他のアプリケーションのコンポーネントによってサービスを起動できるかどうか。 |
| ForegroundServiceType |
|
| Icon |
サービスを表すアイコン。 |
| IsolatedProcess |
|
| Label |
サービスのユーザーが読み取り可能なラベル。 |
| Name |
サービスを実装するクラスの名前。 |
| Permission |
クライアントがサービスを起動するために必要なアクセス許可の名前。 |
| Process |
サービスを実行するプロセスの名前。 |
| RoundIcon |
|
明示的なインターフェイスの実装
| 名前 | 説明 |
|---|---|
| IJniNameProviderAttribute.Name |
|