navMessageSend (Function) |
Top Previous Next |
This function will send a simple text message to the navigation device. Depending on the type of the message, it is either displayed immediately (pop-up message) or a small notification is presented.
With the introduction of navigation API level 2, support for simple HTML tags for text formatting is included. The supported tags are: <br>, <center>, <h1>, <h2>, <b>, <i>, <u>, <strike>, <ol>, <ul>, <li>.
Input: id : INT Unique ID to identify this message.
text : STRING The text message to send. If using firmware 5.0 / 1.30.00 or newer and if the navigation device supports navigation API level 11, the text can be up to 1999 characters for some message types. Otherwise the text is limited to 199 characters.
type : SINT (0..4, default: 0) The type of message to send.
count : SINT (1..10) The number of user-defined replies used. This parameter is ignored if type is not 4.
reply1 : INT The ID of the reply to use for reply option 1. This parameter is ignored if type is not 4.
reply2 : INT The ID of the reply to use for reply option 2. This parameter is ignored if type is not 4.
reply3 : INT The ID of the reply to use for reply option 3. This parameter is ignored if type is not 4.
reply4 : INT The ID of the reply to use for reply option 4. This parameter is ignored if type is not 4.
reply5 : INT The ID of the reply to use for reply option 5. This parameter is ignored if type is not 4.
reply6 : INT The ID of the reply to use for reply option 6. This parameter is ignored if type is not 4.
reply7 : INT The ID of the reply to use for reply option 7. This parameter is ignored if type is not 4.
reply8 : INT The ID of the reply to use for reply option 8. This parameter is ignored if type is not 4.
reply9 : INT The ID of the reply to use for reply option 9. This parameter is ignored if type is not 4.
reply10 : INT The ID of the reply to use for reply option 10. This parameter is ignored if type is not 4.
Returns: INT
Declaration: FUNCTION navMessageSend : INT;
Example: INCLUDE rtcu.inc |