Udostępnij za pośrednictwem


BroadcastOptions.SetDeferralPolicy(BroadcastDeferralPolicy) Method

Definition

Sets deferral policy for this broadcast that specifies how this broadcast can be deferred for delivery at some future point.

[Android.Runtime.Register("setDeferralPolicy", "(I)Landroid/app/BroadcastOptions;", "GetSetDeferralPolicy_IHandler", ApiSince=34)]
public virtual Android.App.BroadcastOptions SetDeferralPolicy (Android.App.BroadcastDeferralPolicy deferralPolicy);
[<Android.Runtime.Register("setDeferralPolicy", "(I)Landroid/app/BroadcastOptions;", "GetSetDeferralPolicy_IHandler", ApiSince=34)>]
abstract member SetDeferralPolicy : Android.App.BroadcastDeferralPolicy -> Android.App.BroadcastOptions
override this.SetDeferralPolicy : Android.App.BroadcastDeferralPolicy -> Android.App.BroadcastOptions

Parameters

deferralPolicy
BroadcastDeferralPolicy

Returns

Attributes

Remarks

Sets deferral policy for this broadcast that specifies how this broadcast can be deferred for delivery at some future point.

Java documentation for android.app.BroadcastOptions.setDeferralPolicy(int).

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