Lines Matching defs:PrinterInfo

50  * Once {@link PrinterInfo.Builder#build() built} the objects are immutable.
53 public final class PrinterInfo implements Parcelable {
96 private PrinterInfo(@NonNull PrinterId printerId, @NonNull String name, @Status int status,
270 private PrinterInfo(Parcel parcel) {
319 * Compare two {@link PrinterInfo printerInfos} in all aspects beside being null and the
322 * @param other the other {@link PrinterInfo}
326 public boolean equalsIgnoringStatus(PrinterInfo other) {
373 PrinterInfo other = (PrinterInfo) obj;
386 builder.append("PrinterInfo{");
401 * Builder for creating of a {@link PrinterInfo}.
434 public Builder(@NonNull PrinterInfo other) {
451 * @see PrinterInfo#STATUS_IDLE
452 * @see PrinterInfo#STATUS_BUSY
453 * @see PrinterInfo#STATUS_UNAVAILABLE
466 * @see PrinterInfo.Builder#setHasCustomPrinterIcon
476 * {@link PrinterInfo.Builder#setIconResourceId} and a custom icon are set the resource icon
478 * {@link PrinterInfo.Builder#setIconResourceId} is not set the printer's service's icon is
542 * Creates a new {@link PrinterInfo}.
544 * @return A new {@link PrinterInfo}.
546 public @NonNull PrinterInfo build() {
547 return new PrinterInfo(mPrinterId, mName, mStatus, mIconResourceId,
553 * Increments the generation number of the custom printer icon. As the {@link PrinterInfo}
554 * does not match the previous one anymore, users of the {@link PrinterInfo} will reload the
566 public static final Parcelable.Creator<PrinterInfo> CREATOR =
567 new Parcelable.Creator<PrinterInfo>() {
569 public PrinterInfo createFromParcel(Parcel parcel) {
570 return new PrinterInfo(parcel);
574 public PrinterInfo[] newArray(int size) {
575 return new PrinterInfo[size];