次の方法で共有


PrinterDiscoverySession.OnDestroy Method

Definition

Notifies you that the session is destroyed.

[Android.Runtime.Register("onDestroy", "()V", "GetOnDestroyHandler")]
public abstract void OnDestroy ();
[<Android.Runtime.Register("onDestroy", "()V", "GetOnDestroyHandler")>]
abstract member OnDestroy : unit -> unit
Attributes

Remarks

Notifies you that the session is destroyed. After this callback is invoked any calls to the methods of this class will be ignored, #isDestroyed() will return true and you will also no longer receive callbacks.

Java documentation for android.printservice.PrinterDiscoverySession.onDestroy().

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