OMCLocationDeviceQuery Class Reference
| Inherits from | OMCLocationObjectQuery : NSObject |
|---|---|
| Declared in | OMCLocationDeviceQuery.h |
protocol
The query’s results will be filtered on a match of this value with the device’s beacon protocol.
@property (nonatomic) OMCLocationDeviceQueryProtocolType protocolDiscussion
The default value is OMCLocationDeviceQueryProtocolTypeNone.
See Also
Declared In
OMCLocationDeviceQuery.h
assetID
The query will search for the device associated with this asset ID.
@property (nonatomic, nullable) NSNumber *assetIDDeclared In
OMCLocationDeviceQuery.h
– setAsset:
The query will search for the device associated with the specified asset.
- (void)setAsset:(nullable OMCLocationAsset *)assetParameters
asset |
The asset associated with the device the query will search for. |
|---|
See Also
Declared In
OMCLocationDeviceQuery.h
beacon
The query will search for the device for this beacon.
@property (nonatomic, nullable) OMCLocationBeacon *beaconDeclared In
OMCLocationDeviceQuery.h
orderByAttribute
The attribute by which the query results will be sorted when returned. The sort order (ascending or descending) is determined by the order-by order.
@property (nonatomic) OMCLocationDeviceQueryOrderByAttributeType orderByAttributeDiscussion
The default value is OMCLocationDeviceQueryOrderByAttributeTypeNone.
Declared In
OMCLocationDeviceQuery.h
– executeWithCompletionHandler:
Asynchronously executes the query, invoking the specified completion handler block when finished.
- (void)executeWithCompletionHandler:(void ( ^ ) ( OMCLocationObjectQueryResult<OMCLocationDeviceQuery*,OMCLocationDevice*> *_Nullable result , NSError *_Nullable error ))completionHandlerParameters
completionHandler |
The block to be invoked when the query has finished executing. The completion block will be invoked on the main dispatch queue. |
|---|
Declared In
OMCLocationDeviceQuery.h