14b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov/*
24b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov * Copyright (C) 2013 The Android Open Source Project
34b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov *
44b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov * Licensed under the Apache License, Version 2.0 (the "License");
54b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov * you may not use this file except in compliance with the License.
64b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov * You may obtain a copy of the License at
74b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov *
84b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov *      http://www.apache.org/licenses/LICENSE-2.0
94b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov *
104b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov * Unless required by applicable law or agreed to in writing, software
114b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov * distributed under the License is distributed on an "AS IS" BASIS,
124b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
134b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov * See the License for the specific language governing permissions and
144b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov * limitations under the License.
154b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov */
164b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov
174b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganovpackage android.print;
184b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov
194b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganovimport android.print.PrintJobInfo;
204b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganovimport java.util.List;
214b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov
224b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov/**
234b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov * Callbacks for communication with the print spooler service.
244b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov *
254b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov * @see android.print.IPrintSpoolerService
264b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov *
274b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov * @hide
284b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov */
29a00271533f639c8ed36429c663889ac9f654bc72Svetoslav Ganovoneway interface IPrintSpoolerCallbacks {
30a00271533f639c8ed36429c663889ac9f654bc72Svetoslav Ganov    void onGetPrintJobInfosResult(in List<PrintJobInfo> printJob, int sequence);
314b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov    void onCancelPrintJobResult(boolean canceled, int sequence);
324b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov    void onSetPrintJobStateResult(boolean success, int sequence);
334b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov    void onSetPrintJobTagResult(boolean success, int sequence);
3485b1f883056a1d74473fd9ce774948878f389ab6Svetoslav Ganov    void onGetPrintJobInfoResult(in PrintJobInfo printJob, int sequence);
354b9a4d16872bbb50712e007b419ac0b35ff1582dSvetoslav Ganov}
36