Contents

metadataIfAvailable

The item’s metadata if it is readily available.

Declaration

var metadataIfAvailable: [String : Any]? { get }

Discussion

If metadata is not readily available, accessing this property will send a message to the device requesting metadata for the file. The delegate of the device will be notified via method cameraDevice(_:didReceiveMetadataFor:), if this method is implemented by the delegate. Execution of the delegate callback will occur on the main thread.

See Also

Requesting Metadata