Freigeben über


PrintService.OnCreatePrinterDiscoverySession Method

Definition

Callback asking you to create a new PrinterDiscoverySession.

[Android.Runtime.Register("onCreatePrinterDiscoverySession", "()Landroid/printservice/PrinterDiscoverySession;", "GetOnCreatePrinterDiscoverySessionHandler")]
protected abstract Android.PrintServices.PrinterDiscoverySession? OnCreatePrinterDiscoverySession ();
[<Android.Runtime.Register("onCreatePrinterDiscoverySession", "()Landroid/printservice/PrinterDiscoverySession;", "GetOnCreatePrinterDiscoverySessionHandler")>]
abstract member OnCreatePrinterDiscoverySession : unit -> Android.PrintServices.PrinterDiscoverySession

Returns

The created session.

Attributes

Remarks

Callback asking you to create a new PrinterDiscoverySession.

Java documentation for android.printservice.PrintService.onCreatePrinterDiscoverySession().

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