My Project
Variables
Add a buddy with a given image to the map

Add a buddy. More...

Variables

static final int MSG_RI_ADD_BUDDY = 900
 

Detailed Description

Add a buddy.

Deprecated:

Add a buddy to the system. Position the buddy with MSG_RI_POSITION_BUDDY. The buddy will be shown by a png file and a name on the map. Attention: This method is deprecated because of the file access restrictions under newer Android versions. For future implementations and for Android 11, use MSG_RI_ADD_BUDDY_FROM_EXTERNAL_DIR.

Sending bundle:

KeyValueType

Info

Bitmap Bitmap file to represent the buddy on the map (full path to the png file) String
Name An optional name that is written below the buddy bitmap on the map String

Returned bundle:

KeyValueType

Info

BuddyId Id of the added buddy int

Returned error codes:

RI_ERROR_NONE if everything is ok.
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.
RI_ERROR_FAILED if an error occurred.


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