My Project
|
Add a buddy. More...
Variables | |
static final int | MSG_RI_ADD_BUDDY = 900 |
Add a buddy.
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.
Key | Value | Type | 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 |
Key | Value | Type | Info |
---|---|---|---|
BuddyId | Id of the added buddy | int |
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 1.8.17 |