mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 06:03:30 +00:00
错误码整改 Signed-off-by:baozewei@huawei.com
Signed-off-by: b30052170 <baozewei@huawei.com>
This commit is contained in:
parent
3845c8c953
commit
cb935671e8
55
api/@ohos.print.d.ts
vendored
55
api/@ohos.print.d.ts
vendored
@ -43,6 +43,7 @@ declare namespace print {
|
||||
* @param { 'block' } type - Indicates the print task has been blocked.
|
||||
* @param { Callback<void> } callback - The callback function for print task change event
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @since 10
|
||||
*/
|
||||
@ -54,6 +55,7 @@ declare namespace print {
|
||||
* @param { 'succeed' } type - Indicates the print task succeed.
|
||||
* @param { Callback<void> } callback - The callback function for print task change event
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @since 10
|
||||
*/
|
||||
@ -65,6 +67,7 @@ declare namespace print {
|
||||
* @param { 'fail' } type - Indicates the print task has completed with failure.
|
||||
* @param { Callback<void> } callback - The callback function for print task change event
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @since 10
|
||||
*/
|
||||
@ -76,6 +79,7 @@ declare namespace print {
|
||||
* @param { 'cancel' } type - Indicates the print task has been cancelled.
|
||||
* @param { Callback<void> } callback - The callback function for print task change event
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @since 10
|
||||
*/
|
||||
@ -87,6 +91,7 @@ declare namespace print {
|
||||
* @param { 'block' } type - Indicates the print task has been blocked.
|
||||
* @param { Callback<void> } callback - The callback function for print task change event
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @since 10
|
||||
*/
|
||||
@ -98,6 +103,7 @@ declare namespace print {
|
||||
* @param { 'succeed' } type - Indicates the print task succeed.
|
||||
* @param { Callback<void> } callback - The callback function for print task change event
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @since 10
|
||||
*/
|
||||
@ -109,6 +115,7 @@ declare namespace print {
|
||||
* @param { 'fail' } type - Indicates the print task has completed with failure.
|
||||
* @param { Callback<void> } callback - The callback function for print task change event
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @since 10
|
||||
*/
|
||||
@ -120,6 +127,7 @@ declare namespace print {
|
||||
* @param { 'cancel' } type - Indicates the print task has been cancelled.
|
||||
* @param { Callback<void> } callback - The callback function for print task change event
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @since 10
|
||||
*/
|
||||
@ -143,6 +151,7 @@ declare namespace print {
|
||||
* @param { number } fd - Indicates print file fd.
|
||||
* @param { function } writeResultCallback - Indicates this function should execute after the file is updated.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @since 11
|
||||
*/
|
||||
@ -155,6 +164,7 @@ declare namespace print {
|
||||
* @param { string } jobId - Indicates print job id.
|
||||
* @param { PrintDocumentAdapterState } state - Indicates job changes to this state.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @since 11
|
||||
*/
|
||||
@ -167,6 +177,7 @@ declare namespace print {
|
||||
* @param { Array<string> } files - Indicates the filepath list to be printed. Only pdf and picture filetype are supported.
|
||||
* @param { AsyncCallback<PrintTask> } callback - The callback function for print task.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @since 10
|
||||
*/
|
||||
@ -178,6 +189,7 @@ declare namespace print {
|
||||
* @param { Array<string> } files - Indicates the filepath list to be printed. Only pdf and picture filetype are supported.
|
||||
* @returns { Promise<PrintTask> } the promise returned by the function.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @since 10
|
||||
*/
|
||||
@ -190,6 +202,7 @@ declare namespace print {
|
||||
* @param { Context } context - The ability context that initiates the call print request.
|
||||
* @param { AsyncCallback<PrintTask> } callback - The callback function for print task.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @since 11
|
||||
*/
|
||||
@ -202,6 +215,7 @@ declare namespace print {
|
||||
* @param { Context } context - The ability context that initiates the call print request.
|
||||
* @returns { Promise<PrintTask> } the promise returned by the function.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @since 11
|
||||
*/
|
||||
@ -216,6 +230,7 @@ declare namespace print {
|
||||
* @param { Context } context - The ability context that initiates the call print request.
|
||||
* @returns { Promise<PrintTask> } the promise returned by the function.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @since 11
|
||||
*/
|
||||
@ -1559,6 +1574,7 @@ declare namespace print {
|
||||
* @param { AsyncCallback<void> } callback - The callback function for indcating the result of API execution.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1573,6 +1589,7 @@ declare namespace print {
|
||||
* @returns { Promise<void> } the promise returned by the function.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1610,6 +1627,7 @@ declare namespace print {
|
||||
* @param { AsyncCallback<void> } callback - The callback function for indcating the result of API execution.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1623,6 +1641,7 @@ declare namespace print {
|
||||
* @returns { Promise<void> } the promise returned by the function.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1636,6 +1655,7 @@ declare namespace print {
|
||||
* @param { AsyncCallback<void> } callback - The callback function for indcating the result of API execution.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1649,6 +1669,7 @@ declare namespace print {
|
||||
* @returns { Promise<void> } the promise returned by the function.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1662,6 +1683,7 @@ declare namespace print {
|
||||
* @param { AsyncCallback<void> } callback - The callback function for capability from printer.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1675,6 +1697,7 @@ declare namespace print {
|
||||
* @returns { Promise<void> } the promise returned by the function.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1688,6 +1711,7 @@ declare namespace print {
|
||||
* @param { AsyncCallback<void> } callback - The callback function for indcating the result of API execution.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1701,6 +1725,7 @@ declare namespace print {
|
||||
* @returns { Promise<void> } the promise returned by the function.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1714,6 +1739,7 @@ declare namespace print {
|
||||
* @param { AsyncCallback<void> } callback - The callback function for indcating the result of API execution.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1727,6 +1753,7 @@ declare namespace print {
|
||||
* @returns { Promise<void> } the promise returned by the function.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1740,6 +1767,7 @@ declare namespace print {
|
||||
* @param { Callback<number> } callback - The callback function for indcating the result of API execution.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1753,6 +1781,7 @@ declare namespace print {
|
||||
* @returns { Promise<number> } the promise returned by the function.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1766,6 +1795,7 @@ declare namespace print {
|
||||
* @param { function } callback - The callback function for state change of printer.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1779,6 +1809,7 @@ declare namespace print {
|
||||
* @param { Callback<boolean> } callback - The callback function for state change of printer.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1792,6 +1823,7 @@ declare namespace print {
|
||||
* @param { function } callback - The callback function for state change of printer.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1805,6 +1837,7 @@ declare namespace print {
|
||||
* @param { Callback<boolean> } callback - The callback function for state change of printer.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1818,6 +1851,7 @@ declare namespace print {
|
||||
* @param { function } callback - The callback function for information change of print extension.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1831,6 +1865,7 @@ declare namespace print {
|
||||
* @param { Callback<boolean> } callback - The callback function for state change of printer.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1844,6 +1879,7 @@ declare namespace print {
|
||||
* @param { AsyncCallback<void> } callback - The callback function for indcating the result of API execution.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1857,6 +1893,7 @@ declare namespace print {
|
||||
* @returns { Promise<void> } the promise returned by the function.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1870,6 +1907,7 @@ declare namespace print {
|
||||
* @param { AsyncCallback<void> } callback - The callback function for indcating the result of API execution.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1883,6 +1921,7 @@ declare namespace print {
|
||||
* @returns { Promise<void> } the promise returned by the function.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1896,6 +1935,7 @@ declare namespace print {
|
||||
* @param { AsyncCallback<void> } callback - The callback function for indcating the result of API execution.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1909,6 +1949,7 @@ declare namespace print {
|
||||
* @returns { Promise<void> } the promise returned by the function.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1923,6 +1964,7 @@ declare namespace print {
|
||||
* @param { AsyncCallback<void> } callback - The callback function for indcating the result of API execution.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1937,6 +1979,7 @@ declare namespace print {
|
||||
* @returns { Promise<void> } the promise returned by the function.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1952,6 +1995,7 @@ declare namespace print {
|
||||
* @param { AsyncCallback<void> } callback - The callback function for indcating the result of API execution.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1967,6 +2011,7 @@ declare namespace print {
|
||||
* @returns { Promise<void> } the promise returned by the function.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1980,6 +2025,7 @@ declare namespace print {
|
||||
* @param { AsyncCallback<void> } callback - The callback function for indcating the result of API execution.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -1993,6 +2039,7 @@ declare namespace print {
|
||||
* @returns { Promise<void> } the promise returned by the function.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 10
|
||||
@ -2058,6 +2105,7 @@ declare namespace print {
|
||||
* @param { AsyncCallback<PrintJob> } callback - The callback function for get printJob by jobId.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 11
|
||||
@ -2071,6 +2119,7 @@ declare namespace print {
|
||||
* @returns { Promise<PrintJob> } the promise returned by the function.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 11
|
||||
@ -2086,6 +2135,7 @@ declare namespace print {
|
||||
* @param { Callback<PrintFileCreationState> } onFileStateChanged - The callback function for update the file state.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 11
|
||||
@ -2101,6 +2151,7 @@ declare namespace print {
|
||||
* @param { AsyncCallback<void> } callback - The callback function for indcating the result of API execution.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 11
|
||||
@ -2115,6 +2166,7 @@ declare namespace print {
|
||||
* @returns { Promise<void> } the promise returned by the function.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 11
|
||||
@ -2140,6 +2192,7 @@ declare namespace print {
|
||||
* @returns { Promise<PrinterInfo> } the promise returned by the function.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 12
|
||||
@ -2153,7 +2206,7 @@ declare namespace print {
|
||||
* @returns { Promise<void> } the promise returned by the function.
|
||||
* @throws { BusinessError } 201 - the application does not have permission to call this function.
|
||||
* @throws { BusinessError } 202 - not system application
|
||||
* @throws { BusinessError } 401 - The parameter check failed.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.Print.PrintFramework
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 12
|
||||
|
Loading…
Reference in New Issue
Block a user