Using Streaming API in a Canvas App
Canvas provides an event and methods that enable canvas apps to listen for Streaming API notifications.
-
sfdc.streamingapi—JavaScript event that you create and associate with a Streaming API channel defined by a PushTopic. See Using the Streaming API Event. -
subscribe—Subscribes to thesfdc.streamingapievent that you define. See Subscribing to a Streaming API Event. -
unsubscribe—Unsubscribes from thesfdc.streamingapievent. See Unsubscribing from a Streaming API Event.
See Also