Original signature is '+ (void)notifyWithTitle:(NSString *)title description:(NSString *)description notificationName:(NSString *)notifName iconData:(NSData *)iconData priority:(signed int)priority isSticky:(BOOL)isSticky clickContext:(id)clickContext identifier:(NSString *)identifier;'
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static void NotifyWithTitleDescriptionNotificationNameIconDataPriorityIsStickyClickContextIdentifier( NSString title, NSString description, NSString notifName, NSData iconData, int priority, bool isSticky, Id clickContext, NSString identifier )
Public Shared Sub NotifyWithTitleDescriptionNotificationNameIconDataPriorityIsStickyClickContextIdentifier ( _ title As NSString, _ description As NSString, _ notifName As NSString, _ iconData As NSData, _ priority As Integer, _ isSticky As Boolean, _ clickContext As Id, _ identifier As NSString _ )
Parameters
- title (NSString)
- The title of the notification displayed to the user.
- description (NSString)
- The full description of the notification displayed to the user.
- notifName (NSString)
- The internal name of the notification. Should be human-readable, as it will be displayed in the Growl preference pane.
- iconData (NSData)
- NSData object to show with the notification as its icon. If nil, the application's icon will be used instead.
- priority (Int32)
- The priority of the notification. The default value is 0; positive values are higher priority and negative values are lower priority. Not all Growl displays support priority.
- isSticky (Boolean)
- If YES, the notification will remain on screen until clicked. Not all Growl displays support sticky notifications.
- clickContext (Id)
- A context passed back to the Growl delegate if it implements -(void)growlNotificationWasClicked: and the notification is clicked. Not all display plugins support clicking. The clickContext must be plist-encodable (completely of NSString, NSArray, NSNumber, NSDictionary, and NSData types).
- identifier (NSString)
- An identifier for this notification. Notifications with equal identifiers are coalesced.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)