OMCLocationAssetQuery Class Reference

Inherits from OMCLocationDeviceContainerQuery : OMCLocationObjectQuery : NSObject
Declared in OMCLocationAssetQuery.h

Overview

An asset query can be configured to search for assets.

  deviceID

The query will search for the asset associated with this device ID.

@property (nonatomic, nullable) NSNumber *deviceID

Declared In

OMCLocationAssetQuery.h

– setDevice:

The query will search for the asset associated with the specified device.

- (void)setDevice:(nullable OMCLocationDevice *)device

Parameters

device

The device associated with the asset the query will search for.

Declared In

OMCLocationAssetQuery.h

– executeWithCompletionHandler:

Asynchronously executes the query, invoking the specified completion handler block when finished.

- (void)executeWithCompletionHandler:(void ( ^ ) ( OMCLocationObjectQueryResult<OMCLocationAssetQuery*,OMCLocationAsset*> *_Nullable result , NSError *_Nullable error ))completionHandler

Parameters

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

OMCLocationAssetQuery.h