java.lang.Object | |
↳ | android.print.PrinterInfo.Builder |
Builder for creating of a PrinterInfo
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor.
| |||||||||||
Constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
PrinterInfo .
| |||||||||||
Sets the printer capabilities.
| |||||||||||
Sets the localized printer description
which is shown to the user
| |||||||||||
Sets the localized printer name which
is shown to the user
| |||||||||||
Sets the printer status.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Constructor.
printerId | The printer id. Cannot be null. |
---|---|
name | The printer name. Cannot be empty. |
status | The printer status. Must be a valid status. |
IllegalArgumentException | If the printer id is null, or the printer name is empty or the status is not a valid one. |
---|
Constructor.
other | Other info from which to start building. |
---|
Creates a new PrinterInfo
.
PrinterInfo
.
Sets the printer capabilities.
capabilities | The capabilities. |
---|
Sets the localized printer description which is shown to the user
description | The description. |
---|
Sets the localized printer name which is shown to the user
name | The name. |
---|
Sets the printer status.
status | The status. |
---|