Dil

PrinterInfo.Builder.SetIconResourceId(Int32) Method

Definition

Set a drawable resource as icon for this printer.

[Android.Runtime.Register("setIconResourceId", "(I)Landroid/print/PrinterInfo$Builder;", "", ApiSince=24)]
public Android.Print.PrinterInfo.Builder SetIconResourceId(int iconResourceId);
[<Android.Runtime.Register("setIconResourceId", "(I)Landroid/print/PrinterInfo$Builder;", "", ApiSince=24)>]
member this.SetIconResourceId : int -> Android.Print.PrinterInfo.Builder

Parameters

iconResourceId
Int32

The resource ID of the icon.

Returns

This builder. This value cannot be null.

Attributes

Remarks

Set a drawable resource as icon for this printer. If no icon is set the printer's service's icon is used for the printer.

Android reference for android.print.PrinterInfo.Builder.setIconResourceId.

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