public void PostCommentToActivity(string activityId, ActivityPostContent comment, Action <ActivityPost> onSuccess, Action <GetSocialError> onFailure) { _gs_postCommentToActivity(activityId, comment.ToJson(), Callbacks.GetActivityPost, onSuccess.GetPointer(), Callbacks.FailureCallback, onFailure.GetPointer()); }
public void PostActivityToFeed(string feed, ActivityPostContent content, Action <ActivityPost> onSuccess, Action <GetSocialError> onFailure) { _gs_postActivityToFeed(feed, content.ToJson(), Callbacks.GetActivityPost, onSuccess.GetPointer(), Callbacks.FailureCallback, onFailure.GetPointer()); }