Beispiel #1
0
 public void PublicStream(StreamOptions options, Action<TwitterStream, PublicStreamCallbacks> streamStarted)
 {
     PublicStreamCallbacks callbacks = new PublicStreamCallbacks();
     PublicStream(options, callbacks, (stream) => {
         streamStarted(stream, callbacks);
     });
 }
Beispiel #2
0
 public void PublicStream(StreamOptions options, PublicStreamCallbacks callbacks, Action<TwitterStream> streamStarted)
 {
     PublicStream(options, streamStarted, callbacks.OnStreamError,
         callbacks.OnStatusCreated, callbacks.OnStatusDeleted,
         callbacks.OnEvent, callbacks.OnRawJson);
 }