Android Programming Press on the image to return to the main documentation page.

iTopNotifications

List of types:

TopNotificationsManager

TopNotificationsManager

Wrapper for LNRSimpleNotifications.
Shows a sliding notification. The user can tap on the notification to dismiss it.

Events:

Click

Members:


  BackgroundColor As Int

  BodyFont As FontWrapper

  BodyTextColor As Int

  Icon As Bitmap

  Initialize (EventName As String)

  IsInitialized As Boolean

  SetPosition (Top As Boolean)

  ShowNotification (Title As String, Body As String, DurationMs As Int)

  Tag As Object

  TitleFont As FontWrapper

  TitleTextColor As Int

Members description:

BackgroundColor As Int
Gets or sets the background color.
BodyFont As FontWrapper
Gets or sets the body font.
BodyTextColor As Int
Gets or sets the body text color.
Icon As Bitmap
Gets or sets the notifications icon.
Initialize (EventName As String)
IsInitialized As Boolean
Tests whether this object was initialized.
SetPosition (Top As Boolean)
Sets the notifications position. True = Top, False = Bottom.
ShowNotification (Title As String, Body As String, DurationMs As Int)
Shows a notification.
Title - Notification title.
Body - Notification body.
DurationMs - Notification duration in milliseconds. Pass -1000 to create a notification that is only dismissed with a click.
Tag As Object
Gets or sets the Tag object. This is a placeholder for any object you like to tie to this object.
TitleFont As FontWrapper
Gets or sets the title font.
TitleTextColor As Int
Gets or sets the title text color.
Top