public List<Objects.Option> GetAllAvailableOptions() { var newMessageOption = new Objects.Option((int)FacebookOptionId.NewNotification, null, null); // id 2 is the direct message notification option for Twitter var options = new List<Objects.Option>(1); options.Add(newMessageOption); return options; }
public List<Objects.Option> GetAllAvailableOptions() { var newNotificationGestures = new List<int>(1); newNotificationGestures.Add((int)Plugins.Gesture.Happy); // default to Happy face var newNotificationOption = new Objects.Option((int)FacebookOptionId.NewNotification, newNotificationGestures, null); var options = new List<Objects.Option>(1); options.Add(newNotificationOption); return options; }
public List<Objects.Option> GetAllAvailableOptions() { var tweetCountNumerics = new List<int>(1); tweetCountNumerics.Add(10); // default to 10 minutes in between tweet count updates var tweetCountOption = new Objects.Option(1, null, tweetCountNumerics); // id 1 is the tweet count notification option for Twitter var directMessageOption = new Objects.Option(2, null, null); // id 2 is the direct message notification option for Twitter var options = new List<Objects.Option>(2); options.Add(tweetCountOption); options.Add(directMessageOption); return options; }
public List<Objects.Option> GetAllAvailableOptions() { var firstCountNumerics = new List<int>(1); firstCountNumerics.Add(5); // default to 10 minutes var countOption = new Objects.Option((int)PrototypeOptionId.CountOption, null, firstCountNumerics); var newGestures = new List<int>(1); newGestures.Add((int)Plugins.Gesture.Happy); // default to Happy face var newGestureOption = new Objects.Option((int)PrototypeOptionId.GestureOption, newGestures, null); var checkedOnlyOption = new Objects.Option((int)PrototypeOptionId.CheckedOnlyOption, null, null); var options = new List<Objects.Option>(3); options.Add(countOption); options.Add(newGestureOption); options.Add(checkedOnlyOption); return options; }