No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
ストリーミング API イベントからの登録解除
次のコード例に、unsubscribe メソッドをコールして、キャンバスアプリケーションがストリーミング API イベントから登録解除できるようにする方法を示します。
1swfobject.registerObject("clippy.codeblock-0", "9");//Unsubscribe from Streaming API events.
2//The PushTopic to unsubscribe from must be passed in.
3Sfdc.canvas(function() {
4 sr = JSON.parse('<%=signedRequestJson%>');
5 Sfdc.canvas.client.unsubscribe(sr.client, {name : 'sfdc.streamingapi',
6 params:{topic:"/topic/InvoiceStatements"}});
7});