Geofence.Geoshape | geoshape property

The shape of the geofence region.

Syntax


var geoshape = geofence.geoshape;

Property value

Type: IGeoshape

The shape of the geofence region.

Remarks

This property is read-only. You must set the shape of a geofence when you initialize it using one of the constructors.

The type of this property, IGeoshape, is an interface to enable the possibility of supporting multiple shapes for geofences. The only shape that is currently supported is Geocircle, so this is the class you should use when initializing your geofences.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Devices.Geolocation.Geofencing
Windows::Devices::Geolocation::Geofencing [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Devices.Geolocation.Geofencing
Windows::Devices::Geolocation::Geofencing [C++]

Metadata

Windows.winmd

See also

Geofence

 

 

Show:
© 2015 Microsoft