Chromecast发件人应用错误代码

时间:2014-05-02 13:44:27

标签: android chromecast

我正在使用Android上的Chromecast应用。我找不到有关状态代码含义的任何文档。

Cast.CastApi.sendMessage(mApiClient, mNamespace, message).setResultCallback(new ResultCallback<Status>() {
    @Override
    public void onResult(Status result) {
        int code = result.getStatusCode(); //What do these codes mean?
    }
});

Cast.CastApi.launchApplication(mApiClient, mApp_id, false).setResultCallback(new ResultCallback<Cast.ApplicationConnectionResult>() {
    @Override
    public void onResult(ApplicationConnectionResult result) {
        int code = result.getStatus().getStatusCode(); //What do these codes mean?
    }
});

尝试发送邮件时,我有时会获得状态代码7。这究竟意味着什么?

1 个答案:

答案 0 :(得分:1)

这意味着网络错误,请参阅此java reference