Contents

thumbnailIfAvailable

The item’s thumbnail if it is readily available.

Declaration

var thumbnailIfAvailable: CGImage? { get }

Discussion

If a thumbnail is not readily available, accessing this property requests it from the device.

When the thumbnail is received, cameraDevice(_:didReceiveThumbnailFor:) is called on the the device’s delegate.

Execution of the delegate callback occurs on the main thread.

See Also

Requesting Thumbnails