[][src]Trait image_capture_core::device_browser::ICDeviceBrowser

pub trait ICDeviceBrowser: Sized {
    unsafe fn delegate(self) -> id;
unsafe fn setDelegate(self, delegate: id);
unsafe fn isBrowsing(self) -> BOOL;
unsafe fn browsedDeviceTypeMask(self) -> NSUInteger;
unsafe fn setBrowsedDeviceTypeMask(self, mask: NSUInteger);
unsafe fn devices(self) -> id;
unsafe fn preferredDevice(self) -> id;
unsafe fn init(self) -> id;
unsafe fn start(self);
unsafe fn stop(self); unsafe fn alloc(_: Self) -> id { ... }
unsafe fn new(_: Self) -> id { ... } }

Required methods

unsafe fn delegate(self) -> id

Get the delegate.

unsafe fn setDelegate(self, delegate: id)

Set the delegate.

unsafe fn isBrowsing(self) -> BOOL

Indicates whether the device browser is browsing for devices.

unsafe fn browsedDeviceTypeMask(self) -> NSUInteger

A mask whose set bits indicate the type of device(s) being browsed after the receiver receives the start message

unsafe fn setBrowsedDeviceTypeMask(self, mask: NSUInteger)

Set the mask whose set bits indicate the type of device(s) being browsed after the receiver receives the start message

unsafe fn devices(self) -> id

All devices found by the browser. This property will change as devices appear and disappear. This array is empty before the first invocation of the delegate method 'deviceBrowser:didAddDevice:moreComing:'.

unsafe fn preferredDevice(self) -> id

This method returns a device object that should be selected by the client application when it is launched.

unsafe fn init(self) -> id

This is the designated initializer.

unsafe fn start(self)

This message tells the receiver to start looking for devices.

unsafe fn stop(self)

This method tells the receiver to stop looking for devices.

Loading content...

Provided methods

unsafe fn alloc(_: Self) -> id

unsafe fn new(_: Self) -> id

Loading content...

Implementations on Foreign Types

impl ICDeviceBrowser for id
[src]

unsafe fn alloc(_: Self) -> id
[src]

unsafe fn new(_: Self) -> id
[src]

Loading content...

Implementors

Loading content...