C# Workmates API
 All Classes Namespaces Functions Variables Enumerations Enumerator
WorkmateApi Class Reference

Static Public Member Functions

static ReturnCode InitWorkmateApi (string dbPath)
 The function opens API for use connecting to the Sygic navigation database file. More...
 
static ReturnCode CloseWorkmateApi ()
 The function closes API. Calling any function afterwards leads to returning FunctionFailed. More...
 
static bool IsOpen ()
 The function returns false or true indicating the status of API. More...
 
static ReturnCode CheckWorkmateExists (int workmateId, out bool exists)
 
static ReturnCode CheckAddressExists (int workmateId, out bool exists)
 The function returns true or false depending on whether an address is defined with the workmate or not. More...
 
static ReturnCode InsertWorkmate (int workmateId, Workmate workmate)
 The function inserts Workmate into database with the defined id. More...
 
static ReturnCode SetWorkmateAddress (int workmateId, WorkmateAddress workmateAddress)
 The function sets an address for the workmate defined by id. More...
 
static ReturnCode ResetWorkmateAddress (int workmateId)
 The function deletes workmate address from the database. More...
 
static ReturnCode DeleteWorkmate (int workmateId)
 The function deletes the workmate found by the workmateId parameter. More...
 
static ReturnCode ClearAll ()
 The function clears up all workmates in the database. More...
 
static ReturnCode UpdateWorkmate (int workmateId, Workmate workmate)
 The function updates the existing workmate defined by id with a new data structure. More...
 
static ReturnCode GetWorkmate (int workmateId, out Workmate workmate)
 The function retrieves the workmate structure from the database based on the workmate id. More...
 
static ReturnCode GetWorkmateAddress (int workmateId, out WorkmateAddress address)
 The function retrieves the workmate address from the database based on the workmate id. More...