Udostępnij za pośrednictwem


PrinterDiscoverySession.Printers Property

Definition

Gets the printers reported in this session.

public System.Collections.Generic.IList<Android.Print.PrinterInfo> Printers { [Android.Runtime.Register("getPrinters", "()Ljava/util/List;", "")] get; }
[<get: Android.Runtime.Register("getPrinters", "()Ljava/util/List;", "")>]
member this.Printers : System.Collections.Generic.IList<Android.Print.PrinterInfo>

Property Value

The printers.

Attributes

Remarks

Gets the printers reported in this session. For example, if you add two printers and remove one of them, the returned list will contain only the printer that was added but not removed.

<strong>Note: </strong> Calls to this method after the session is destroyed, that is after the #onDestroy() callback, will be ignored.

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

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