public class PrintClient extends Object
| 构造器和说明 |
|---|
PrintClient(String appKey,
String appSecret) |
PrintClient(String appKey,
String appSecret,
com.ctaiot.CloudPrintConfig clientConfig) |
PrintClient(String appKey,
String appSecret,
com.ctaiot.connection.HttpProxy proxy,
com.ctaiot.CloudPrintConfig clientConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
PrintResult |
getBrandList(PrintPayLoad payLoad)
get printer brand list
payLoad
|
PrintResult |
getClientIdInfo(PrintPayLoad payLoad)
get client id
payLoad
|
PrintResult |
getFolderLabelList(PrintPayLoad payLoad)
get folder label list
payLoad
|
PrintResult |
getSdkToken(String userId)
get authorization token
|
PrintResult |
listPrintTask(PrintPayLoad payLoad)
get list print task
payLoad
|
PrintResult |
operatePrintTask(PrintPayLoad payLoad)
get operate print task
payLoad
|
PrintResult |
printUrl(PrintPayLoad payLoad)
get print url drives
payLoad
|
PrintResult |
saveBrand(PrintPayLoad payLoad)
save printer brand
payLoad
|
PrintResult |
sendApiPrint(PrintPayLoad payLoad)
send api print
payLoad
|
PrintResult |
sendPdfPrint(PrintPayLoad payLoad)
send pdf print
payLoad
|
PrintResult |
sendPicPrint(PrintPayLoad payLoad)
send pic print
payLoad
|
public PrintClient(String appKey, String appSecret, com.ctaiot.CloudPrintConfig clientConfig)
public PrintResult getSdkToken(String userId) throws com.ctaiot.resp.APIConnectionException, com.ctaiot.resp.APIRequestException
com.ctaiot.resp.APIConnectionExceptioncom.ctaiot.resp.APIRequestExceptionpublic PrintResult getBrandList(PrintPayLoad payLoad) throws com.ctaiot.resp.APIConnectionException, com.ctaiot.resp.APIRequestException
com.ctaiot.resp.APIConnectionExceptioncom.ctaiot.resp.APIRequestExceptionpublic PrintResult saveBrand(PrintPayLoad payLoad) throws com.ctaiot.resp.APIConnectionException, com.ctaiot.resp.APIRequestException
com.ctaiot.resp.APIConnectionExceptioncom.ctaiot.resp.APIRequestExceptionpublic PrintResult getFolderLabelList(PrintPayLoad payLoad) throws com.ctaiot.resp.APIConnectionException, com.ctaiot.resp.APIRequestException
com.ctaiot.resp.APIConnectionExceptioncom.ctaiot.resp.APIRequestExceptionpublic PrintResult getClientIdInfo(PrintPayLoad payLoad) throws com.ctaiot.resp.APIConnectionException, com.ctaiot.resp.APIRequestException
com.ctaiot.resp.APIConnectionExceptioncom.ctaiot.resp.APIRequestExceptionpublic PrintResult sendApiPrint(PrintPayLoad payLoad) throws com.ctaiot.resp.APIConnectionException, com.ctaiot.resp.APIRequestException
com.ctaiot.resp.APIConnectionExceptioncom.ctaiot.resp.APIRequestExceptionpublic PrintResult sendPdfPrint(PrintPayLoad payLoad) throws com.ctaiot.resp.APIConnectionException, com.ctaiot.resp.APIRequestException
com.ctaiot.resp.APIConnectionExceptioncom.ctaiot.resp.APIRequestExceptionpublic PrintResult sendPicPrint(PrintPayLoad payLoad) throws com.ctaiot.resp.APIConnectionException, com.ctaiot.resp.APIRequestException
com.ctaiot.resp.APIConnectionExceptioncom.ctaiot.resp.APIRequestExceptionpublic PrintResult printUrl(PrintPayLoad payLoad) throws com.ctaiot.resp.APIConnectionException, com.ctaiot.resp.APIRequestException
com.ctaiot.resp.APIConnectionExceptioncom.ctaiot.resp.APIRequestExceptionpublic PrintResult listPrintTask(PrintPayLoad payLoad) throws com.ctaiot.resp.APIConnectionException, com.ctaiot.resp.APIRequestException
com.ctaiot.resp.APIConnectionExceptioncom.ctaiot.resp.APIRequestExceptionpublic PrintResult operatePrintTask(PrintPayLoad payLoad) throws com.ctaiot.resp.APIConnectionException, com.ctaiot.resp.APIRequestException
com.ctaiot.resp.APIConnectionExceptioncom.ctaiot.resp.APIRequestExceptionCopyright © 2023. All rights reserved.