Method | Description | |
---|---|---|
GetByDeviceTypeGuid ( System.Guid guid ) : IQueryable |
Returns a queryable collection of Rock.Model.Device">Devices by the Guid of their Device Type |
|
GetByGeocode ( double latitude, double longitude, int deviceTypeValueId ) : Device |
Finds the matching device for the given lat/long coordinates. The given coordinates must intersect one of the stored GeoFence values to be a match. Use the deviceTypeValueId to constrain matching to only certain device types.
|
|
GetByIPAddress ( string ipAddress, int deviceTypeValueId, bool skipReverseLookup = true ) : Device |
Gets the device by IP address.
|
public GetByDeviceTypeGuid ( System.Guid guid ) : IQueryable |
||
guid | System.Guid | A |
return | IQueryable |
public GetByGeocode ( double latitude, double longitude, int deviceTypeValueId ) : Device | ||
latitude | double | Latitude of the mobile phone/kiosk. |
longitude | double | Longitude of the mobile phone/kiosk. |
deviceTypeValueId | int | Longitude of the mobile phone/kiosk. |
return | Device |
public GetByIPAddress ( string ipAddress, int deviceTypeValueId, bool skipReverseLookup = true ) : Device | ||
ipAddress | string | A |
deviceTypeValueId | int | A |
skipReverseLookup | bool | A |
return | Device |