Loading...
Searching...
No Matches
com.navigine.idl.java.internal.NotificationBinding Class Reference
+ Inheritance diagram for com.navigine.idl.java.internal.NotificationBinding:

Public Member Functions

native boolean isValid ()
 
int getId ()
 notification's unique identifier.
 
String getTitle ()
 notification's title.
 
String getContent ()
 notification's content.
 
String getImageUrl ()
 notification's image url if specified.
 

Detailed Description

Definition at line 10 of file NotificationBinding.java.

Member Function Documentation

◆ getContent()

String com.navigine.idl.java.internal.NotificationBinding.getContent ( )
inline

notification's content.

Returns

Java code snippet:

// Get notification content
String content = notification.getContent();
System.out.println("Notification content: " + content);

Kotlin code snippet:

// Get notification content
val content = notification.content
println("Notification content: $content")

Reimplemented from com.navigine.idl.java.Notification.

Definition at line 39 of file NotificationBinding.java.

◆ getId()

int com.navigine.idl.java.internal.NotificationBinding.getId ( )
inline

notification's unique identifier.

Returns

Java code snippet:

// Get notification ID
int id = notification.getId();
System.out.println("Notification ID: " + id);

Kotlin code snippet:

// Get notification ID
val id = notification.id
println("Notification ID: $id")

Reimplemented from com.navigine.idl.java.Notification.

Definition at line 25 of file NotificationBinding.java.

◆ getImageUrl()

String com.navigine.idl.java.internal.NotificationBinding.getImageUrl ( )
inline

notification's image url if specified.

Returns

Java code snippet:

// Get notification image URL
String imageUrl = notification.getImageUrl();
if (imageUrl != null && !imageUrl.isEmpty()) {
System.out.println("Notification image URL: " + imageUrl);
} else {
System.out.println("Notification has no image URL");
}

Kotlin code snippet:

// Get notification image URL
val imageUrl = notification.imageUrl
if (imageUrl != null && imageUrl.isNotEmpty()) {
println("Notification image URL: $imageUrl")
} else {
println("Notification has no image URL")
}

Reimplemented from com.navigine.idl.java.Notification.

Definition at line 46 of file NotificationBinding.java.

◆ getTitle()

String com.navigine.idl.java.internal.NotificationBinding.getTitle ( )
inline

notification's title.

Returns

Java code snippet:

// Get notification title
String title = notification.getTitle();
System.out.println("Notification title: " + title);

Kotlin code snippet:

// Get notification title
val title = notification.title
println("Notification title: $title")

Reimplemented from com.navigine.idl.java.Notification.

Definition at line 32 of file NotificationBinding.java.

◆ isValid()

native boolean com.navigine.idl.java.internal.NotificationBinding.isValid ( )

Tells if this Notification is valid or not. Any other method (except for this one) called on an invalid Notification will throw java.lang.RuntimeException.

Reimplemented from com.navigine.idl.java.Notification.


The documentation for this class was generated from the following file: