public class ICDeviceBrowser extends NSObject
ICDeviceBrowser
The ICDeviceBrowser object is used to find devices such as digital cameras and scanners that are supported by Image Capture. These device may be directly attached to the USB or FireWire bus on the host computer, or available over a TCP/IP network. This object communicates with an Image Capture agent process asynchronously to accomplish this.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ICDeviceBrowser.Block_requestContentsAuthorizationWithCompletion |
static interface |
ICDeviceBrowser.Block_requestControlAuthorizationWithCompletion |
static interface |
ICDeviceBrowser.Block_resetContentsAuthorizationWithCompletion |
static interface |
ICDeviceBrowser.Block_resetControlAuthorizationWithCompletion |
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
ICDeviceBrowser(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static ICDeviceBrowser |
alloc() |
static ICDeviceBrowser |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
java.lang.String |
contentsAuthorizationStatus()
contentsAuthorizationStatus
|
java.lang.String |
controlAuthorizationStatus()
controlAuthorizationStatus
|
static java.lang.String |
debugDescription_static() |
ICDeviceBrowserDelegate |
delegate()
[@property] delegate
|
static java.lang.String |
description_static() |
NSArray<? extends ICDevice> |
devices()
[@property] devices
|
static long |
hash_static() |
ICDeviceBrowser |
init()
init
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
boolean |
isBrowsing()
[@property] browsing
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
boolean |
isSuspended()
[@property] suspended
|
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static ICDeviceBrowser |
new_objc() |
void |
requestContentsAuthorizationWithCompletion(ICDeviceBrowser.Block_requestContentsAuthorizationWithCompletion completion)
requestContentsAuthorizationWithCompletion:
|
void |
requestControlAuthorizationWithCompletion(ICDeviceBrowser.Block_requestControlAuthorizationWithCompletion completion)
requestControlAuthorizationWithCompletion:
|
void |
resetContentsAuthorizationWithCompletion(ICDeviceBrowser.Block_resetContentsAuthorizationWithCompletion completion)
resetContentsAuthorizationWithCompletion:
|
void |
resetControlAuthorizationWithCompletion(ICDeviceBrowser.Block_resetControlAuthorizationWithCompletion completion)
resetControlAuthorizationWithCompletion:
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setDelegate_unsafe(ICDeviceBrowserDelegate value)
[@property] delegate
|
void |
setDelegate(ICDeviceBrowserDelegate value)
[@property] delegate
|
static void |
setVersion_static(long aVersion) |
void |
start()
start:
|
void |
stop()
stop:
|
static org.moe.natj.objc.Class |
superclass_static() |
static long |
version_static() |
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static ICDeviceBrowser alloc()
public static ICDeviceBrowser allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public ICDeviceBrowserDelegate delegate()
The delegate. It must conform to ICDeviceBrowserDelegate protocol. The messages this delegate can expect to receive are described by ICDeviceBrowserDelegate protocol.
public static java.lang.String description_static()
public NSArray<? extends ICDevice> devices()
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:'.
public static long hash_static()
public ICDeviceBrowser init()
This is the designated initializer.
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public boolean isBrowsing()
Indicates whether the device browser is browsing for devices.
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static ICDeviceBrowser new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public void setDelegate_unsafe(ICDeviceBrowserDelegate value)
The delegate. It must conform to ICDeviceBrowserDelegate protocol. The messages this delegate can expect to receive are described by ICDeviceBrowserDelegate protocol.
public void setDelegate(ICDeviceBrowserDelegate value)
The delegate. It must conform to ICDeviceBrowserDelegate protocol. The messages this delegate can expect to receive are described by ICDeviceBrowserDelegate protocol.
public static void setVersion_static(long aVersion)
public void start()
This message tells the receiver to start looking for devices.
Make sure that the receiver's delegate is set prior to sending this message; otherwise this message will be ignored. The messages the delegate can expect to receive are described by ICDeviceBrowserDelegate protocol.
public void stop()
This method tells the receiver to stop looking for devices.
This will free all device instances that are not in use.
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public java.lang.String contentsAuthorizationStatus()
This method returns a constant indicating whether the app has permission to acces the contents of an attached media device.
A constant indicating authorization status.
public java.lang.String controlAuthorizationStatus()
This method returns a constant indicating whether the app has permission to control the attached camera device.
public boolean isSuspended()
Indicates whether the devices in the browser have suspended communication.
public void requestContentsAuthorizationWithCompletion(ICDeviceBrowser.Block_requestContentsAuthorizationWithCompletion completion)
This method requests the user’s permission, if needed, for accessing the conents of an external media device.
public void requestControlAuthorizationWithCompletion(ICDeviceBrowser.Block_requestControlAuthorizationWithCompletion completion)
This method requests the user’s permission, if needed, for controlling the attached camera device.
public void resetContentsAuthorizationWithCompletion(ICDeviceBrowser.Block_resetContentsAuthorizationWithCompletion completion)
This method resets the authorization status for the application accessing the conents of an external media device.
public void resetControlAuthorizationWithCompletion(ICDeviceBrowser.Block_resetControlAuthorizationWithCompletion completion)
This method resets the authorization status for the application controlling the attached camera device.
If the application already has been granted camera access, this will reset only the presentation dialog letting the user know the app has permission, not the camera access itself.