BroadcastReceiverAttribute クラス

定義

/manifest/application/receiver内でAndroidManifest.xml要素を生成します。

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
[System.Serializable]
public class BroadcastReceiverAttribute : Attribute, Java.Interop.IJniNameProviderAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)>]
[<System.Serializable>]
type BroadcastReceiverAttribute = class
    inherit Attribute
    interface IJniNameProviderAttribute
継承
BroadcastReceiverAttribute
属性
実装

注釈

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

コンストラクター

名前 説明
BroadcastReceiverAttribute()

新しい BroadcastReceiverAttribute インスタンスを構築して初期化します。

プロパティ

名前 説明
Description

Android コンポーネントに対して宣言された説明を取得または設定します。

DirectBootAware

ユーザーがデバイスのロックを解除する前に Android コンポーネントを実行できるかどうかを取得または設定します。

Enabled

受信側をシステムによってインスタンス化できるかどうか。

Exported

受信側を他のアプリケーションのコンポーネントによって起動できるかどうか。

Icon

レシーバーを表すアイコン。

Label

受信者のユーザーが判読できるラベル。

Name

レシーバーを実装するクラスの名前。

Permission

クライアントが受信側を起動するために必要なアクセス許可の名前。

Process

受信側を実行するプロセスの名前。

RoundIcon

Android コンポーネント用に宣言された丸いアイコンを取得または設定します。

明示的なインターフェイスの実装

名前 説明
IJniNameProviderAttribute.Name

/manifest/application/receiver内でAndroidManifest.xml要素を生成します。

適用対象

こちらもご覧ください