Exemple #1
0
 public void UserStream(UserStreamCallbacks callbacks, Action<TwitterStream> streamStart)
 {
     UserStream(new StreamOptions(), callbacks, streamStart);
 }
Exemple #2
0
 public void UserStream(StreamOptions streamOptions, Action<TwitterStream, UserStreamCallbacks> streamStart)
 {
     UserStreamCallbacks callbacks = new UserStreamCallbacks();
     UserStream(streamOptions, callbacks, (stream) => {
         streamStart(stream, callbacks);
     });
 }
Exemple #3
0
 public void UserStream(StreamOptions streamOptions, UserStreamCallbacks callbacks, Action<TwitterStream> streamStart)
 {
     UserStream(streamOptions, streamStart,
         callbacks.OnFriends, callbacks.OnStreamError, callbacks.OnStatusCreated,
         callbacks.OnStatusDeleted, callbacks.OnDirectedMessageCreated, callbacks.OnDirectMessageDeleted,
         callbacks.OnEvent, callbacks.OnRawJson);
 }