Class

IKCameraDeviceView

The IKCameraDeviceView class displays the contents of the selected camera.

Declaration

class IKCameraDeviceView : NSView

Topics

Getting and Setting the Camera Device

var cameraDevice: ICCameraDevice!

The current camera device.

View Display Mode

var iconSize: Int

Specifies the icon size.

var mode: IKCameraDeviceViewDisplayMode

Specifies the display mode of the camera device view.

var hasDisplayModeIcon: Bool

Returns whether the device view is being displayed in icon mode.

var hasDisplayModeTable: Bool

Returns whether the device view is being displayed in table mode.

Selecting the File Transfer Mode

var transferMode: IKCameraDeviceViewTransferMode

Determines how the contents are saved by the delegate.

Configuring Download Interface and Downloading Files

var canDownloadSelectedItems: Bool

Returns whether the selected items can be downloaded

var downloadsDirectory: URL!

Specifies the directory where files are downloaded

func downloadSelectedItems(Any!)

Deletes the selected items from the camera.

func downloadAllItems(Any!)

Downloads all the items.

var downloadSelectedControlLabel: String!

Allows the “Download Selected” control to be renamed.

var downloadAllControlLabel: String!

Allows the “Download All” control to be renamed.

var displaysDownloadsDirectoryControl: Bool

Specifies whether the downloads directory control should be displayed.

Getting and Setting the Post Processing Application

var displaysPostProcessApplicationControl: Bool

Displays whether the post process application control should be displayed.

var postProcessApplication: URL!

The URL of the application used to post process the image.

Deleting Selected Items

var canDeleteSelectedItems: Bool

Returns whether the selected items can be deleted.

func deleteSelectedItems(Any!)

Deletes the currently selected items.

Selection Management

func select(IndexSet!, byExtendingSelection: Bool)

Invoked to select the specified files, extending the selection if specified.

func selectedIndexes() -> IndexSet!

The selected indexes of the camera files.

Getting and Setting the Delegate

var delegate: IKCameraDeviceViewDelegate!

The camera device view delegate.

Selected Item Rotation

var canRotateSelectedItemsLeft: Bool

Returns whether the selected items can be rotated left.

var canRotateSelectedItemsRight: Bool

Returns whether the selected items can be rotated right.

func rotateLeft(Any!)

Rotates the selected image to the left.

func rotateRight(Any!)

Rotates the selected image to the right.

Constants

enum IKCameraDeviceViewDisplayMode

These constants specify the display mode used by the camera view. These constants are used by mode.

enum IKCameraDeviceViewTransferMode

These constants specify the transfer mode used by the camera view. These constants are used by mode.