Freigeben über


PrinterDiscoverySession.RemovePrinters(IList<PrinterId>) Method

Definition

Removes added printers.

[Android.Runtime.Register("removePrinters", "(Ljava/util/List;)V", "")]
public void RemovePrinters (System.Collections.Generic.IList<Android.Print.PrinterId> printerIds);
[<Android.Runtime.Register("removePrinters", "(Ljava/util/List;)V", "")>]
member this.RemovePrinters : System.Collections.Generic.IList<Android.Print.PrinterId> -> unit

Parameters

printerIds
IList<PrinterId>

The ids of the removed printers.

Attributes

Remarks

Removes added printers. Removing an already removed or never added printer has no effect. Removed printers can be added again. You can call this method multiple times during the lifetime of this session.

<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.removePrinters(java.util.List<android.print.PrinterId>).

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