验证后,我创建了一个电路板,电路板名称为“App”,然后创建一个引脚,但错误链接是
{"message": "Board not found.", "type": "api", "param": "board"}
创建密码:
String pinImageUrl = "https://static.pexels.com/photos/697057/pexels-photo-697057.jpeg";
String board = "App";
String noteText ="descption"
if (!Utils.isEmpty(noteText) && !Utils.isEmpty(board) &&
!Utils.isEmpty(pinImageUrl)) {
PDKClient.getInstance().createPin(noteText, board, pinImageUrl, "test", new PDKCallback() {
@Override
public void onSuccess(PDKResponse response) {
Log.d("onSavePin-onSavePin--->"+getClass().getName() + "-->Save pin ", response.getData().toString());
// responseView.setText(response.getData().toString());
}
@Override
public void onFailure(PDKException exception) {
Log.e("onSavePin-onFailure--->"+getClass().getName(), exception.getDetailMessage());
//responseView.setText(exception.getDetailMessage());
}
});