/// <summary> /// Post an activity on the activity feed. /// </summary> /// <param name="text">The text of the activity, or null if no text should be shown.</param> /// <param name="image">The image of the activity, or null if no image should be shown.</param> /// <param name="buttonText">The text of the activity button, or null if no button text should be shown.</param> /// <param name="actionId">The action generated on click, or null if no button or image is shown.</param> /// <param name="tags">Tags for user segmentation.</param> /// <param name="onSuccess">Action called if operation was successful. Optional.</param> /// <param name="onFailure">Action called if operation failed to complete. Optional.</param> public void PostActivity(string text, byte[] image = null, string buttonText = null, string actionId = null, string[] tags = null, Action <string> onSuccess = null, Action onFailure = null) { getSocialImpl.PostActivity(text, image, buttonText, actionId, tags, onSuccess, onFailure); }