using System.Collections.Generic;
namespace UTNotifications
{
///
/// A custom notification button.
///
public class Button
{
///
/// Initializes a new instance of the class.
///
/// The button title.
/// (Optional) Custom user data to be stored in the argument of a Manager.OnNotificationClicked event handler when the button is clicked.
public Button(string title, IDictionary userData = null)
{
this.title = title;
this.userData = userData;
}
///
/// The button title.
///
public string title;
///
/// (Optional) Custom user data to be stored in the argument of a Manager.OnNotificationClicked event handler when the button is clicked.
///
///
///
public IDictionary userData;
}
}