| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nVRNotifications_CreateNotification(long ulOverlayHandle, long ulUserValue, int type, long pchText, int style, long pImage, long pNotificationId)
Unsafe version of: |
| public static int | VRNotifications_CreateNotification(long ulOverlayHandle, long ulUserValue, int type, ByteBuffer pchText, int style, NotificationBitmap pImage, IntBuffer pNotificationId)
Create a notification and enqueue it to be shown to the user. |
| public static int | VRNotifications_CreateNotification(long ulOverlayHandle, long ulUserValue, int type, CharSequence pchText, int style, NotificationBitmap pImage, IntBuffer pNotificationId)
Create a notification and enqueue it to be shown to the user. |
| public static int | VRNotifications_RemoveNotification(int notificationId)
Destroy a notification, hiding it first if it currently shown to the user. |
| VRNotifications | back to summary |
|---|---|
| protected VRNotifications() | |
| nVRNotifications_CreateNotification | back to summary |
|---|---|
| public static int nVRNotifications_CreateNotification(long ulOverlayHandle, long ulUserValue, int type, long pchText, int style, long pImage, long pNotificationId) Unsafe version of: | |
| VRNotifications_CreateNotification | back to summary | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public static int VRNotifications_CreateNotification(long ulOverlayHandle, long ulUserValue, int type, ByteBuffer pchText, int style, NotificationBitmap pImage, IntBuffer pNotificationId) Create a notification and enqueue it to be shown to the user. An overlay handle is required to create a notification, as otherwise it would be impossible for a user to act on it. To create a two-line notification,
use a line break ('\n') to split the text into two lines. The
| |||||||||
| VRNotifications_CreateNotification | back to summary | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public static int VRNotifications_CreateNotification(long ulOverlayHandle, long ulUserValue, int type, CharSequence pchText, int style, NotificationBitmap pImage, IntBuffer pNotificationId) Create a notification and enqueue it to be shown to the user. An overlay handle is required to create a notification, as otherwise it would be impossible for a user to act on it. To create a two-line notification,
use a line break ('\n') to split the text into two lines. The
| |||||||||
| VRNotifications_RemoveNotification | back to summary |
|---|---|
| public static int VRNotifications_RemoveNotification(int notificationId) Destroy a notification, hiding it first if it currently shown to the user.
| |