3
我正在开发一个android应用程序因为这一切工作正常。我只想问有没有办法从所有解析通道在一个呼叫退订使用,而不是:有没有什么办法可以在Android中的一个调用中取消订阅所有解析频道
ParsePush.unsubscribeInBackground("channel1");
检查谷歌和Android的解析API没发现有什么办法做到这一点。
我正在开发一个android应用程序因为这一切工作正常。我只想问有没有办法从所有解析通道在一个呼叫退订使用,而不是:有没有什么办法可以在Android中的一个调用中取消订阅所有解析频道
ParsePush.unsubscribeInBackground("channel1");
检查谷歌和Android的解析API没发现有什么办法做到这一点。
通道信息写在安装类中。只需清除“通道”栏。
ParseInstallation installation = ParseInstallation.getCurrentInstallation();
installation.remove("channels");
installation.saveEventually(new SaveCallback() { // or saveInBackground
@Override
public void done(ParseException e) {
// TODO: add code here
}
});
我会说你有你的答案。我不认为Parse API具有不在文档中的方法。 – nasch