BroadcastOptions クラス

定義

および 関連するメソッドで android.content.Context#sendBroadcast(android.content.Intent) Context.sendBroadcast(Intent) 使用できるオプション Bundle を構築するためのヘルパー クラス。

[Android.Runtime.Register("android/app/BroadcastOptions", ApiSince=34, DoNotGenerateAcw=true)]
public class BroadcastOptions : Java.Lang.Object
[<Android.Runtime.Register("android/app/BroadcastOptions", ApiSince=34, DoNotGenerateAcw=true)>]
type BroadcastOptions = class
    inherit Object
継承
BroadcastOptions
属性

注釈

および 関連するメソッドで android.content.Context#sendBroadcast(android.content.Intent) Context.sendBroadcast(Intent) 使用できるオプション Bundle を構築するためのヘルパー クラス。

の Java ドキュメント android.app.BroadcastOptions

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

コンストラクター

BroadcastOptions(IntPtr, JniHandleOwnership)

および 関連するメソッドで android.content.Context#sendBroadcast(android.content.Intent) Context.sendBroadcast(Intent) 使用できるオプション Bundle を構築するためのヘルパー クラス。

フィールド

DeferralPolicyDefault
古い.

欲求が表現されていないことを示し、システムが合理的な既定の動作を使用する必要があることを示す遅延ポリシー。

DeferralPolicyNone
古い.

このブロードキャストの受信者を遅延させるべきではないという強い要望を示す遅延ポリシー。

DeferralPolicyUntilActive
古い.

このブロードキャストの各受信側がアクティブ (キャッシュされていない) 状態になるまで延期する必要があることを強く望む遅延ポリシー。

DeliveryGroupPolicyAll
古い.

配信グループ内のすべてのブロードキャストをそのまま配信する必要があることを示す配信グループ ポリシー。

DeliveryGroupPolicyMostRecent
古い.

配信グループ内の最新のブロードキャストのみを配信する必要があり、残りのブロードキャストを削除できることを示す配信グループ ポリシー。

プロパティ

Class

この Objectのランタイム クラスを返します。

(継承元 Object)
DeferralPolicy

将来の配信のためにこのブロードキャストを延期する方法を指定する、このブロードキャストの遅延ポリシーを取得します。

DeliveryGroupMatchingKey

このブロードキャストが属する配信グループを識別するために使用される名前空間とキーを返します。

DeliveryGroupPolicy

同じ配信グループに属する複数のブロードキャストを処理する方法を指定する、このブロードキャストの配信グループ ポリシーを取得します。

Handle

基になる Android インスタンスへのハンドル。

(継承元 Object)
IsShareIdentityEnabled

ブロードキャスト アプリが受信者との ID の共有をオプトインしたかどうかを返します。

JniIdentityHashCode

および 関連するメソッドで android.content.Context#sendBroadcast(android.content.Intent) Context.sendBroadcast(Intent) 使用できるオプション Bundle を構築するためのヘルパー クラス。

(継承元 Object)
JniPeerMembers

および 関連するメソッドで android.content.Context#sendBroadcast(android.content.Intent) Context.sendBroadcast(Intent) 使用できるオプション Bundle を構築するためのヘルパー クラス。

PeerReference

および 関連するメソッドで android.content.Context#sendBroadcast(android.content.Intent) Context.sendBroadcast(Intent) 使用できるオプション Bundle を構築するためのヘルパー クラス。

(継承元 Object)
ThresholdClass

および 関連するメソッドで android.content.Context#sendBroadcast(android.content.Intent) Context.sendBroadcast(Intent) 使用できるオプション Bundle を構築するためのヘルパー クラス。

ThresholdType

および 関連するメソッドで android.content.Context#sendBroadcast(android.content.Intent) Context.sendBroadcast(Intent) 使用できるオプション Bundle を構築するためのヘルパー クラス。

メソッド

ClearDeferralPolicy()

将来の配信のためにこのブロードキャストを延期する方法を指定する、このブロードキャストの遅延ポリシーをクリアします。

ClearDeliveryGroupMatchingKey()

を使用して以前に設定された名前空間とキーを #setDeliveryGroupMatchingKey(String, String)クリアします。

ClearDeliveryGroupPolicy()

を使用して #setDeliveryGroupMatchingKey(String, String) 以前に設定した配信グループ ポリシーをクリアし、配信グループ ポリシーを既定値 (#DELIVERY_GROUP_POLICY_ALL) にリセットします。

Clone()

このオブジェクトのコピーを作成して返します。

(継承元 Object)
Dispose()

および 関連するメソッドで android.content.Context#sendBroadcast(android.content.Intent) Context.sendBroadcast(Intent) 使用できるオプション Bundle を構築するためのヘルパー クラス。

(継承元 Object)
Dispose(Boolean)

および 関連するメソッドで android.content.Context#sendBroadcast(android.content.Intent) Context.sendBroadcast(Intent) 使用できるオプション Bundle を構築するためのヘルパー クラス。

(継承元 Object)
Equals(Object)

他のオブジェクトがこのオブジェクトと "等しい" かどうかを示します。

(継承元 Object)
FromBundle(Bundle)

指定Bundleされた から解析された をBroadcastOptions返します。通常は から#toBundle()生成されます。

GetHashCode()

オブジェクトのハッシュ コード値を返します。

(継承元 Object)
JavaFinalize()

ガベージ コレクションがオブジェクトへの参照がなくなったと判断したときに、オブジェクトのガベージ コレクターによって呼び出されます。

(継承元 Object)
MakeBasic()

オプションが最初に設定されていない basic BroadcastOptions を作成します。

Notify()

このオブジェクトのモニターで待機している 1 つのスレッドをウェイクアップします。

(継承元 Object)
NotifyAll()

このオブジェクトのモニターで待機しているすべてのスレッドをウェイクアップします。

(継承元 Object)
SetDeferralPolicy(BroadcastDeferralPolicy)

このブロードキャストの遅延ポリシーを設定します。このブロードキャストを将来の配信に延期する方法を指定します。

SetDeliveryGroupMatchingKey(String, String)

名前空間とキーを設定して、このブロードキャストが属する配信グループを識別します。

SetDeliveryGroupPolicy(BroadcastDeliveryGroupPolicy)

このブロードキャストの配信グループ ポリシーを設定して、同じ配信グループに属する複数のブロードキャストを処理する方法を指定します。

SetHandle(IntPtr, JniHandleOwnership)

Handle プロパティを設定します。

(継承元 Object)
SetShareIdentityEnabled(Boolean)

ブロードキャスト アプリの ID を、このブロードキャストを受信するすべての受信者と共有するかどうかを設定します。

ToArray<T>()

および 関連するメソッドで android.content.Context#sendBroadcast(android.content.Intent) Context.sendBroadcast(Intent) 使用できるオプション Bundle を構築するためのヘルパー クラス。

(継承元 Object)
ToBundle()

作成されたオプションを Bundle として返します。このオプションは、 および 関連するメソッドに android.content.Context#sendBroadcast(android.content.Intent) Context.sendBroadcast(Intent) 渡すことができます。

ToString()

オブジェクトの文字列形式を返します。

(継承元 Object)
UnregisterFromRuntime()

および 関連するメソッドで android.content.Context#sendBroadcast(android.content.Intent) Context.sendBroadcast(Intent) 使用できるオプション Bundle を構築するためのヘルパー クラス。

(継承元 Object)
Wait()

現在のスレッドが起動するまで待機します。通常<>は、通知</em> または <em>割り込み</em によって待機します>。

(継承元 Object)
Wait(Int64)

現在のスレッドが起動するまで待機します。通常<>は、通知</em> または>< em 割り込み</em>、または一定のリアルタイムが経過するまで待機します。

(継承元 Object)
Wait(Int64, Int32)

現在のスレッドが起動するまで待機します。通常<>は、通知</em> または>< em 割り込み</em>、または一定のリアルタイムが経過するまで待機します。

(継承元 Object)

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

IJavaPeerable.Disposed()

および 関連するメソッドで android.content.Context#sendBroadcast(android.content.Intent) Context.sendBroadcast(Intent) 使用できるオプション Bundle を構築するためのヘルパー クラス。

(継承元 Object)
IJavaPeerable.DisposeUnlessReferenced()

および 関連するメソッドで android.content.Context#sendBroadcast(android.content.Intent) Context.sendBroadcast(Intent) 使用できるオプション Bundle を構築するためのヘルパー クラス。

(継承元 Object)
IJavaPeerable.Finalized()

および 関連するメソッドで android.content.Context#sendBroadcast(android.content.Intent) Context.sendBroadcast(Intent) 使用できるオプション Bundle を構築するためのヘルパー クラス。

(継承元 Object)
IJavaPeerable.JniManagedPeerState

および 関連するメソッドで android.content.Context#sendBroadcast(android.content.Intent) Context.sendBroadcast(Intent) 使用できるオプション Bundle を構築するためのヘルパー クラス。

(継承元 Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)

および 関連するメソッドで android.content.Context#sendBroadcast(android.content.Intent) Context.sendBroadcast(Intent) 使用できるオプション Bundle を構築するためのヘルパー クラス。

(継承元 Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)

および 関連するメソッドで android.content.Context#sendBroadcast(android.content.Intent) Context.sendBroadcast(Intent) 使用できるオプション Bundle を構築するためのヘルパー クラス。

(継承元 Object)
IJavaPeerable.SetPeerReference(JniObjectReference)

および 関連するメソッドで android.content.Context#sendBroadcast(android.content.Intent) Context.sendBroadcast(Intent) 使用できるオプション Bundle を構築するためのヘルパー クラス。

(継承元 Object)

拡張メソッド

JavaCast<TResult>(IJavaObject)

Android ランタイムチェック型変換を実行します。

JavaCast<TResult>(IJavaObject)

および 関連するメソッドで android.content.Context#sendBroadcast(android.content.Intent) Context.sendBroadcast(Intent) 使用できるオプション Bundle を構築するためのヘルパー クラス。

GetJniTypeName(IJavaPeerable)

および 関連するメソッドで android.content.Context#sendBroadcast(android.content.Intent) Context.sendBroadcast(Intent) 使用できるオプション Bundle を構築するためのヘルパー クラス。

適用対象