Udostępnij za pośrednictwem


LocalActivityManager.DispatchPause(Boolean) Method

Definition

Caution

deprecated

Called by the container activity in its Activity#onPause so that LocalActivityManager can perform the corresponding action on the activities it holds.

[Android.Runtime.Register("dispatchPause", "(Z)V", "GetDispatchPause_ZHandler")]
[System.Obsolete("deprecated")]
public virtual void DispatchPause (bool finishing);
[<Android.Runtime.Register("dispatchPause", "(Z)V", "GetDispatchPause_ZHandler")>]
[<System.Obsolete("deprecated")>]
abstract member DispatchPause : bool -> unit
override this.DispatchPause : bool -> unit

Parameters

finishing
Boolean

set to true if the parent activity has been finished; this can be determined by calling Activity.isFinishing()

Attributes

Remarks

Called by the container activity in its Activity#onPause so that LocalActivityManager can perform the corresponding action on the activities it holds.

Java documentation for android.app.LocalActivityManager.dispatchPause(boolean).

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

See also