Share via


PrintService.GeneratePrinterId(String) Method

Definition

Generates a global printer id given the printer's locally unique one.

[Android.Runtime.Register("generatePrinterId", "(Ljava/lang/String;)Landroid/print/PrinterId;", "")]
public Android.Print.PrinterId GeneratePrinterId (string? localId);
[<Android.Runtime.Register("generatePrinterId", "(Ljava/lang/String;)Landroid/print/PrinterId;", "")>]
member this.GeneratePrinterId : string -> Android.Print.PrinterId

Parameters

localId
String

A locally unique id in the context of your print service.

Returns

Global printer id.

Attributes

Remarks

Generates a global printer id given the printer's locally unique one.

Java documentation for android.printservice.PrintService.generatePrinterId(java.lang.String).

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