CustomPrinterIconCallback.OnCustomPrinterIconLoaded(Icon) Method

Definition

Provide a new icon for a printer.

[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

Parameters

icon
Icon

The new icon for the printer or null to unset the current icon

Returns

true iff the icon could be updated

Attributes

Remarks

Provide a new icon for a printer. Can be called more than once to update the icon.

Java documentation for android.printservice.CustomPrinterIconCallback.onCustomPrinterIconLoaded(android.graphics.drawable.Icon).

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.

Applies to