Udostępnij za pośrednictwem


PrinterCapabilitiesInfo.Builder.Build Method

Definition

Crates a new PrinterCapabilitiesInfo enforcing that all required properties have been specified.

[Android.Runtime.Register("build", "()Landroid/print/PrinterCapabilitiesInfo;", "")]
public Android.Print.PrinterCapabilitiesInfo Build ();
[<Android.Runtime.Register("build", "()Landroid/print/PrinterCapabilitiesInfo;", "")>]
member this.Build : unit -> Android.Print.PrinterCapabilitiesInfo

Returns

A new PrinterCapabilitiesInfo.

Attributes

Remarks

Crates a new PrinterCapabilitiesInfo enforcing that all required properties have been specified. See individual methods in this class for reference about required attributes.

<strong>Note:</strong> If you do not add supported duplex modes, android.print.PrintAttributes#DUPLEX_MODE_NONE will set as the only supported mode and also as the default duplex mode.

Java documentation for android.print.PrinterCapabilitiesInfo.Builder.build().

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