在Android中,有没有办法在一次通话中取消所有解析频道的订阅

在Android中,有没有办法在一次通话中取消所有解析频道的订阅,android,parse-platform,channel,unsubscribe,Android,Parse Platform,Channel,Unsubscribe,我正在开发一款android应用程序,一切正常。我只是想问,有没有办法在一次通话中取消所有解析频道的订阅,而不是使用: ParsePush.unsubscribeInBackground("channel1"); 在google和parse android api上进行了检查,但没有找到任何方法。通道信息写在安装类中。只需清除“通道”列 我想你有你的答案。我认为parseapi没有文档中没有的方法。 ParseInstallation installation = ParseInstallat

我正在开发一款android应用程序,一切正常。我只是想问,有没有办法在一次通话中取消所有解析频道的订阅,而不是使用:

ParsePush.unsubscribeInBackground("channel1");

在google和parse android api上进行了检查,但没有找到任何方法。通道信息写在安装类中。只需清除“通道”列


我想你有你的答案。我认为parseapi没有文档中没有的方法。
ParseInstallation installation = ParseInstallation.getCurrentInstallation();
installation.remove("channels");
installation.saveEventually(new SaveCallback() {  // or saveInBackground
    @Override
    public void done(ParseException e) {
        // TODO: add code here
    }
});