My Project
Variables
Sets a user hint on a big sign

Shows a user hint as a big sign. More...

Variables

static final int MSG_RI_SET_USERHINT_BIG_SIGN = 121
 

Detailed Description

Shows a user hint as a big sign.

Deprecated:

Displays the given text and icon in the signpost sign during navigation or tracking. The text is displayed for the given time. The current signpost will not be shown during this time.

Attention: This method is deprecated because of the file access changes on newer Android versions. For future implementations and for Android 11, use MSG_RI_SET_USERHINT_BIG_SIGN_FROM_EXTERNAL_DIR.

Sending bundle:

KeyValueType

Info

Text The text to show String
Icon The filename including absolute path of the icon to show String
Duration The time span in milliseconds Int
ColorSign The background color of the sign Int
ColorText The text color of the sign Int
ColorFrame The frame color of the sign (deprecated) Int

The icon which should be displayed on the sign has to reside on the file system of the target device.
Color value are specified as packed ints, made up of 4 bytes: alpha, red, green, blue. The single color components are stored as follows (alpha << 24) | (red << 16) | (green << 8) | blue. Each component ranges between 0..255 with 0 meaning no contribution for that component, and 255 meaning 100% contribution.

Returned error codes:

RI_ERROR_NONE in case the text was shown correctly.
RI_ERROR_RI_DISABLED if the Remote Interface service is disabled and/or not licensed.
RI_ERROR_IS_INITIALIZING if the Remote Interface service is not initialized yet.


© PTV Group 2021 Generated on Sun Oct 2 2022 19:28:23 for My Project by doxygen 1.8.17