PrinterDiscoverySession.OnValidatePrinters(IList<PrinterId>) 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.
Callback asking you to validate that the given printers are valid, that is they exist.
[Android.Runtime.Register("onValidatePrinters", "(Ljava/util/List;)V", "GetOnValidatePrinters_Ljava_util_List_Handler")]
public abstract void OnValidatePrinters (System.Collections.Generic.IList<Android.Print.PrinterId> printerIds);
[<Android.Runtime.Register("onValidatePrinters", "(Ljava/util/List;)V", "GetOnValidatePrinters_Ljava_util_List_Handler")>]
abstract member OnValidatePrinters : System.Collections.Generic.IList<Android.Print.PrinterId> -> unit
Parameters
- Attributes
Remarks
Callback asking you to validate that the given printers are valid, that is they exist. You are responsible for checking whether these printers exist and for the ones that do exist notify the system via calling #addPrinters(List)
.
<strong>Note: </strong> You are <strong>not required</strong> to provide the printer capabilities when updating the printers that do exist.
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.