public class SlotClient extends AbstractClient
gson, HTTP_RSP_OK| 构造器和说明 |
|---|
SlotClient(Credential credential) |
SlotClient(Credential credential,
ClientProfile clientProfile) |
| 限定符和类型 | 方法和说明 |
|---|---|
ResignResult |
fetchResignResult(String slotOutAddr,
String fileId)
Query the re-signature status and obtain the re-signed ipa download address
|
String |
resignIpa(String slotOutAddr,
String fileUrl)
IPA re-signature
|
SlotDeviceInfo[] |
slotListDevice(int[] phoneTypeList)
Get a list of replaceable devices
|
SlotInfo[] |
slotListInfo(String slotOutAddr)
slotListInfo
|
ModelInfo[] |
slotListModel(int[] phoneTypeList)
Get a list of replaceable models
|
void |
slotSwitchCancel(String slotOutAddr)
Cancel device replacement
|
void |
slotSwitchStart(String slotOutAddr,
int modelId,
int deviceId)
Applying to replace a slot-bound device
|
getClientProfile, getCredential, getLogger, internalRequest, setClientProfile, setCredential, setLogger, setProfilepublic SlotClient(Credential credential)
public SlotClient(Credential credential, ClientProfile clientProfile)
public SlotInfo[] slotListInfo(String slotOutAddr) throws CloudTestSDKException
slotOutAddr - slot addressCloudTestSDKException - CloudTestSDKExceptionpublic ModelInfo[] slotListModel(int[] phoneTypeList) throws CloudTestSDKException
phoneTypeList - CloudTestSDKException - CloudTestSDKExceptionpublic SlotDeviceInfo[] slotListDevice(int[] phoneTypeList) throws CloudTestSDKException
phoneTypeList - CloudTestSDKException - CloudTestSDKExceptionpublic void slotSwitchStart(String slotOutAddr, int modelId, int deviceId) throws CloudTestSDKException
slotOutAddr - modelId - deviceId - CloudTestSDKException - CloudTestSDKExceptionpublic void slotSwitchCancel(String slotOutAddr) throws CloudTestSDKException
slotOutAddr - CloudTestSDKException - CloudTestSDKExceptionpublic String resignIpa(String slotOutAddr, String fileUrl) throws CloudTestSDKException
slotOutAddr - fileUrl - CloudTestSDKException - CloudTestSDKExceptionpublic ResignResult fetchResignResult(String slotOutAddr, String fileId) throws CloudTestSDKException
slotOutAddr - fileId - CloudTestSDKException - CloudTestSDKExceptionCopyright © 2022. All rights reserved.