PrinterDiscoverySession.TrackedPrinters Property

Definition

Gets the printers that should be tracked.

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

Property Value

The printers.

Attributes

Remarks

Gets the printers that should be tracked. These are printers that are important to the user and for which you received a call to #onStartPrinterStateTracking(PrinterId) asking you to observer their state and reporting it to the system via #addPrinters(List). You will receive a call to #onStopPrinterStateTracking(PrinterId) if you should stop tracking a printer.

<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.getTrackedPrinters().

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