Mac OS X Reference Library Apple Developer
Search

IKDeviceBrowserView Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/Quartz.framework/ImageKit.framework
Availability
Available in Mac OS X v10.6 and later.
Declared in
IKDeviceBrowserView.h
Related sample code

Overview

The IKDeviceBrowserView allows you to select a camera or scanner from a list of the available devices.

Delegation

The IKDeviceBrowserView delegate must conform to the IKDeviceBrowserViewDelegate protocol. The delegate provides methods to inform you of selection changes in the browser as well as errors encountered when creating the browser list.

Tasks

Getting the Selected Device

Specifying the Device Types to Display

Specifying the Display Mode

Getting and Setting the Delegate

Properties

For more about Objective-C properties, see “Properties” in The Objective-C Programming Language.

delegate

Specifies the delegate object.

@property(assign) id<IKDeviceBrowserViewDelegate> delegate

Discussion

The delegate object must conform to the IKDeviceBrowserViewDelegate protocol.

Availability
  • Available in Mac OS X v10.6 and later.
Declared In
IKDeviceBrowserView.h

displaysLocalCameras

Specifies whether local cameras are displayed by the browser.

@property BOOL displaysLocalCameras

Availability
  • Available in Mac OS X v10.6 and later.
Declared In
IKDeviceBrowserView.h

displaysLocalScanners

Specifies whether local scanners are displayed by the browser.

@property BOOL displaysLocalScanners

Availability
  • Available in Mac OS X v10.6 and later.
Declared In
IKDeviceBrowserView.h

displaysNetworkCameras

Specifies whether network cameras are displayed by the browser.

@property BOOL displaysNetworkCameras

Availability
  • Available in Mac OS X v10.6 and later.
Declared In
IKDeviceBrowserView.h

displaysNetworkScanners

Specifies whether network scanners are displayed by the browser.

@property BOOL displaysNetworkScanners

Availability
  • Available in Mac OS X v10.6 and later.
Declared In
IKDeviceBrowserView.h

mode

Specifies the browser display mode.

@property IKDeviceBrowserViewDisplayMode mode

Discussion

The supported display modes are defined in “Device Browser Display Modes”

Availability
  • Available in Mac OS X v10.6 and later.
Declared In
IKDeviceBrowserView.h

selectedDevice

Returns the selected device. (read-only)

@property(readonly) ICDevice *selectedDevice

Availability
  • Available in Mac OS X v10.6 and later.
See Also
Declared In
IKDeviceBrowserView.h

Constants

Device Browser Display Modes

These constants specify the display mode of the device browser.

enum
{
   IKDeviceBrowserViewDisplayModeTable,
   IKDeviceBrowserViewDisplayModeOutline,
   IKDeviceBrowserViewDisplayModeIcon
};
typedef NSInteger IKDeviceBrowserViewDisplayMode;
Constants
IKDeviceBrowserViewDisplayModeTable

The devices are displayed in a table.

Available in Mac OS X v10.6 and later.

Declared in IKDeviceBrowserView.h.

IKDeviceBrowserViewDisplayModeOutline

The devices are displayed in an outline.

Available in Mac OS X v10.6 and later.

Declared in IKDeviceBrowserView.h.

IKDeviceBrowserViewDisplayModeIcon

The devices are displayed as icons.

Available in Mac OS X v10.6 and later.

Declared in IKDeviceBrowserView.h.




Last updated: 2010-03-24

Did this document help you? Yes It's good, but... Not helpful...