Tizen Native API  5.5

This provides APIs related to Place Link Object information, used in Place Discovery and Search.

Functions

int maps_place_link_object_destroy (maps_place_link_object_h link)
 Destroys the place link object handle and releases all its resources.
int maps_place_link_object_clone (const maps_place_link_object_h origin, maps_place_link_object_h *cloned)
 Clones the place link object handle.
int maps_place_link_object_get_id (const maps_place_link_object_h link, char **id)
 Gets the place link object ID.
int maps_place_link_object_get_name (const maps_place_link_object_h link, char **name)
 Gets the place link object name.
int maps_place_link_object_get_string (const maps_place_link_object_h link, char **string)
 Gets the place link object string.
int maps_place_link_object_get_type (const maps_place_link_object_h link, char **type)
 Gets the place link object type.

Typedefs

typedef void * maps_place_link_object_h
 The Place Link Object handle.

Typedef Documentation

typedef void* maps_place_link_object_h

The Place Link Object handle.

The handle of Place Link Object instance.

Since :
2.3.2
Remarks:
To release the handle use maps_place_link_object_destroy().
To clone the handle use maps_place_link_object_clone().
See also:
maps_place_link_object_destroy()
maps_place_link_object_clone()

Function Documentation

Clones the place link object handle.

This function clones the place link object handle origin and all its resources.

Since :
2.3.2
Remarks:
cloned must be released using maps_place_link_object_destroy().
Parameters:
[in]originThe original place link object handle
[out]clonedA cloned place link object handle
Returns:
0 on success, otherwise a negative error value
Return values:
MAPS_ERROR_NONESuccessful
MAPS_ERROR_OUT_OF_MEMORYOut of memory
MAPS_ERROR_INVALID_PARAMETERInvalid parameter
MAPS_ERROR_NOT_SUPPORTEDNot supported
See also:
maps_place_link_object_destroy()

Destroys the place link object handle and releases all its resources.

This function destroys the place link object handle and releases all its resources.

Since :
2.3.2
Parameters:
[in]linkThe place link object handle to destroy
Returns:
0 on success, otherwise a negative error value
Return values:
MAPS_ERROR_NONESuccessful
MAPS_ERROR_INVALID_PARAMETERInvalid parameter
MAPS_ERROR_NOT_SUPPORTEDNot supported
See also:
maps_place_link_object_clone()
int maps_place_link_object_get_id ( const maps_place_link_object_h  link,
char **  id 
)

Gets the place link object ID.

This function gets the place link object ID.

Since :
2.3.2
Remarks:
id must be released using free().
Parameters:
[in]linkThe handle of place link object
[out]idThe place link object ID
Returns:
0 on success, otherwise a negative error value
Return values:
MAPS_ERROR_NONESuccessful
MAPS_ERROR_INVALID_PARAMETERInvalid parameter
MAPS_ERROR_NOT_SUPPORTEDNot supported
int maps_place_link_object_get_name ( const maps_place_link_object_h  link,
char **  name 
)

Gets the place link object name.

This function gets the place link object name.

Since :
2.3.2
Remarks:
name must be released using free().
Parameters:
[in]linkThe handle of place link object
[out]nameThe place link object name
Returns:
0 on success, otherwise a negative error value
Return values:
MAPS_ERROR_NONESuccessful
MAPS_ERROR_INVALID_PARAMETERInvalid parameter
MAPS_ERROR_NOT_SUPPORTEDNot supported
int maps_place_link_object_get_string ( const maps_place_link_object_h  link,
char **  string 
)

Gets the place link object string.

This function gets the place link object string.

Since :
2.3.2
Remarks:
string must be released using free().
Parameters:
[in]linkThe handle of place link object
[out]stringThe place link object string
Returns:
0 on success, otherwise a negative error value
Return values:
MAPS_ERROR_NONESuccessful
MAPS_ERROR_INVALID_PARAMETERInvalid parameter
MAPS_ERROR_NOT_SUPPORTEDNot supported
int maps_place_link_object_get_type ( const maps_place_link_object_h  link,
char **  type 
)

Gets the place link object type.

This function gets the place link object type.

Since :
2.3.2
Remarks:
type must be released using free().
Parameters:
[in]linkThe handle of place link object
[out]typeThe place link object type
Returns:
0 on success, otherwise a negative error value
Return values:
MAPS_ERROR_NONESuccessful
MAPS_ERROR_INVALID_PARAMETERInvalid parameter
MAPS_ERROR_NOT_SUPPORTEDNot supported