Added in API level 24
Summary:
Methods
| Inherited Methods
CustomPrinterIconCallback
public
final
class
CustomPrinterIconCallback
extends Object
java.lang.Object | |
↳ | android.printservice.CustomPrinterIconCallback |
Callback for PrinterDiscoverySession.onRequestCustomPrinterIcon
.
Summary
Public methods | |
---|---|
boolean
|
onCustomPrinterIconLoaded(Icon icon)
Provide a new icon for a printer. |
Inherited methods | |
---|---|
Public methods
onCustomPrinterIconLoaded
Added in API level 24
public boolean onCustomPrinterIconLoaded (Icon icon)
Provide a new icon for a printer. Can be called more than once to update the icon.
Parameters | |
---|---|
icon |
Icon : The new icon for the printer or null to unset the current icon |
Returns | |
---|---|
boolean |
true iff the icon could be updated |