Most visited

Recently visited

Added in API level 24

CustomPrinterIconCallback

public final class CustomPrinterIconCallback
extends Object

java.lang.Object
    android.printservice.CustomPrinterIconCallback


回调为 onRequestCustomPrinterIcon(PrinterId, CancellationSignal, CustomPrinterIconCallback)

摘要(Summary)

公共方法(Public methods)

boolean onCustomPrinterIconLoaded(Icon icon)

为打印机提供一个新图标。

继承方法(Inherited methods)

From class java.lang.Object

公共方法(Public methods)

onCustomPrinterIconLoaded

Added in API level 24
boolean onCustomPrinterIconLoaded (Icon 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

Hooray!