CustomPrinterIconCallback.OnCustomPrinterIconLoaded(Icon) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为打印机提供新图标。
[Android.Runtime.Register("onCustomPrinterIconLoaded", "(Landroid/graphics/drawable/Icon;)Z", "", ApiSince=24)]
public bool OnCustomPrinterIconLoaded(Android.Graphics.Drawables.Icon? icon);
[<Android.Runtime.Register("onCustomPrinterIconLoaded", "(Landroid/graphics/drawable/Icon;)Z", "", ApiSince=24)>]
member this.OnCustomPrinterIconLoaded : Android.Graphics.Drawables.Icon -> bool
参数
- icon
- Icon
用于取消设置当前图标的打印机或 null 的新图标
返回
true iff,可以更新图标
- 特性
注解
为打印机提供新图标。 可以多次调用以更新图标。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。