PrinterDiscoverySession.AddPrinters(IList<PrinterInfo>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds discovered printers.
[Android.Runtime.Register("addPrinters", "(Ljava/util/List;)V", "")]
public void AddPrinters (System.Collections.Generic.IList<Android.Print.PrinterInfo> printers);
[<Android.Runtime.Register("addPrinters", "(Ljava/util/List;)V", "")>]
member this.AddPrinters : System.Collections.Generic.IList<Android.Print.PrinterInfo> -> unit
Parameters
- printers
- IList<PrinterInfo>
The printers to add.
- Attributes
Remarks
Adds discovered printers. Adding an already added printer updates it. Removed printers can be added again. You can call this method multiple times during the life of this session. Duplicates will be ignored.
<strong>Note: </strong> Calls to this method after the session is destroyed, that is after the #onDestroy()
callback, will be ignored.
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.