System.Sensors.TCustomLocationSensor.Optimize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Optimize: Boolean read FOptimize write SetOptimize;

C++

__property bool Optimize = {read=FOptimize, write=SetOptimize, nodefault};

Properties

Type Visibility Source Unit Parent
property public
System.Sensors.pas
System.Sensors.hpp
System.Sensors TCustomLocationSensor

Description

Specifies whether the location sensor should use the optimized Location API (True) or the general-purpose Sensor API (False).

Note: You cannot change this value at run time. Any attempt raises an ESensorExceptionClass exception.

Platform Support

This property is only supported on Windows.

See Also