public class CloudPrintClient extends Object
| 构造器和说明 |
|---|
CloudPrintClient(String appKey,
String appSecret) |
CloudPrintClient(String appKey,
String appSecret,
com.ctaiot.CloudPrintConfig config) |
CloudPrintClient(String appKey,
String appSecret,
com.ctaiot.connection.HttpProxy proxy,
com.ctaiot.CloudPrintConfig config) |
| 限定符和类型 | 方法和说明 |
|---|---|
FolderPlugCloudResult |
getFolderLabelList(FolderLabel folderLabel,
String token)
get folder label list
folderLabel
|
List<BrandResult> |
getPrintBrand(Brand brand,
String token)
get brand list
brand
|
PrintResult |
getPrintClientId(Integer equip,
String token)
get clientId
equip
token
|
PrintResult |
getPrintDownUrl(String token)
get print url drives
token
|
TaskPageResult |
getPrintTask(TaskPayLoad taskPayLoad,
String token)
get print task list
taskPayLoad
token
|
PrintResult |
getPrintToken(String userId)
create sdk token
|
PrintResult |
operatePrintTask(OperateTaskPayLoad taskPayLoad,
String token)
operate print task
taskPayLoad
token
|
PrintResult |
savePrintBrand(BrandPayLoad payLoad,
String token)
create brand
payLoad
|
PrintResult |
sendApiPrint(ApiPrintPayLoad apiPrintPayLoad,
String token)
send api print
apiPrintPayLoad
|
PrintResult |
sendPdfPrint(PdfPrintPayLoad pdfPrintPayLoad,
String token)
send pdf print
pdfPrintPayLoad
|
PrintResult |
sendPicPrint(PicPrintPayLoad picPrintPayLoad,
String token)
send pic print
picPrintPayLoad
|
public CloudPrintClient(String appKey, String appSecret, com.ctaiot.CloudPrintConfig config)
public PrintResult getPrintToken(String userId) throws com.ctaiot.resp.APIConnectionException, com.ctaiot.resp.APIRequestException
com.ctaiot.resp.APIConnectionExceptioncom.ctaiot.resp.APIRequestExceptionpublic List<BrandResult> getPrintBrand(Brand brand, String token) throws com.ctaiot.resp.APIConnectionException, com.ctaiot.resp.APIRequestException, IntrospectionException, InvocationTargetException, IllegalAccessException
brand
com.ctaiot.resp.APIConnectionExceptioncom.ctaiot.resp.APIRequestExceptionIntrospectionExceptionInvocationTargetExceptionIllegalAccessExceptionpublic PrintResult savePrintBrand(BrandPayLoad payLoad, String token) throws com.ctaiot.resp.APIConnectionException, com.ctaiot.resp.APIRequestException, IntrospectionException, InvocationTargetException, IllegalAccessException
payLoad
com.ctaiot.resp.APIConnectionExceptioncom.ctaiot.resp.APIRequestExceptionIntrospectionExceptionInvocationTargetExceptionIllegalAccessExceptionpublic FolderPlugCloudResult getFolderLabelList(FolderLabel folderLabel, String token) throws com.ctaiot.resp.APIConnectionException, com.ctaiot.resp.APIRequestException, IntrospectionException, InvocationTargetException, IllegalAccessException
folderLabel
com.ctaiot.resp.APIConnectionExceptioncom.ctaiot.resp.APIRequestExceptionIntrospectionExceptionInvocationTargetExceptionIllegalAccessExceptionpublic PrintResult getPrintClientId(Integer equip, String token) throws com.ctaiot.resp.APIConnectionException, com.ctaiot.resp.APIRequestException
equip token
com.ctaiot.resp.APIConnectionExceptioncom.ctaiot.resp.APIRequestExceptionpublic PrintResult sendApiPrint(ApiPrintPayLoad apiPrintPayLoad, String token) throws com.ctaiot.resp.APIConnectionException, com.ctaiot.resp.APIRequestException, IntrospectionException, InvocationTargetException, IllegalAccessException
apiPrintPayLoad
com.ctaiot.resp.APIConnectionExceptioncom.ctaiot.resp.APIRequestExceptionIntrospectionExceptionInvocationTargetExceptionIllegalAccessExceptionpublic PrintResult sendPdfPrint(PdfPrintPayLoad pdfPrintPayLoad, String token) throws com.ctaiot.resp.APIConnectionException, com.ctaiot.resp.APIRequestException, IntrospectionException, InvocationTargetException, IllegalAccessException
pdfPrintPayLoad
com.ctaiot.resp.APIConnectionExceptioncom.ctaiot.resp.APIRequestExceptionIntrospectionExceptionInvocationTargetExceptionIllegalAccessExceptionpublic PrintResult sendPicPrint(PicPrintPayLoad picPrintPayLoad, String token) throws com.ctaiot.resp.APIConnectionException, com.ctaiot.resp.APIRequestException, IntrospectionException, InvocationTargetException, IllegalAccessException
picPrintPayLoad
com.ctaiot.resp.APIConnectionExceptioncom.ctaiot.resp.APIRequestExceptionIntrospectionExceptionInvocationTargetExceptionIllegalAccessExceptionpublic PrintResult getPrintDownUrl(String token) throws com.ctaiot.resp.APIConnectionException, com.ctaiot.resp.APIRequestException
token
com.ctaiot.resp.APIConnectionExceptioncom.ctaiot.resp.APIRequestExceptionpublic TaskPageResult getPrintTask(TaskPayLoad taskPayLoad, String token) throws IntrospectionException, InvocationTargetException, IllegalAccessException, com.ctaiot.resp.APIConnectionException, com.ctaiot.resp.APIRequestException
IntrospectionExceptionInvocationTargetExceptionIllegalAccessExceptioncom.ctaiot.resp.APIConnectionExceptioncom.ctaiot.resp.APIRequestExceptionpublic PrintResult operatePrintTask(OperateTaskPayLoad taskPayLoad, String token) throws IntrospectionException, InvocationTargetException, IllegalAccessException, com.ctaiot.resp.APIConnectionException, com.ctaiot.resp.APIRequestException
IntrospectionExceptionInvocationTargetExceptionIllegalAccessExceptioncom.ctaiot.resp.APIConnectionExceptioncom.ctaiot.resp.APIRequestExceptionCopyright © 2023. All rights reserved.