Untitled Document
CApplicationAPI.ChangeApplicationOptions Method 
GPS NAVIGATION SDK
version 8.3 build 47035

The function changes basic Drive settings.

public static int ChangeApplicationOptions(
   out SError Error,
   ref SChangeOption ChangeOption,
   int MaxTime
);

Parameters

Error
Additional error information returned from Drive.
ChangeOption
Reference to instance of SChangeOption class which contains new Drive settings.
MaxTime
Maximum of time (in milliseconds) function can take. If MaxTime=0 function execution is not time limited.

Return Value

1 if successful, other value otherwise.

Remarks

Use ChangeOption to set new Drive settings. It is possible to change these characteristics:

After function execution ChangeOption contains actual Drive settings.


Possible error codes returned from Drive are:


Example

SError Error;
SChangeOption Option = new SChangeOption();

Option.bOperateRightHanded = 0;
Option.ClockFormat = 2;

CApplicationAPI.ChangeApplicationOptions(out Error, ref Option, 10000);
This code changes just Drive appearance to lefthanded and clock format to UK (2:00 PM). It does not effect other settings.

See Also

CApplicationAPI Class | ApplicationAPI Namespace