Package org.robovm.apple.homekit
Class HMAccessory
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.homekit.HMAccessory
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class HMAccessory extends NSObject
- Since:
- Available in iOS 8.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HMAccessory.HMAccessoryPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description HMAccessory()
protected
HMAccessory(NSObject.Handle h, long handle)
protected
HMAccessory(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description NSArray<HMCameraProfile>
getCameraProfiles()
HMAccessoryCategory
getCategory()
HMAccessoryDelegate
getDelegate()
java.lang.String
getFirmwareVersion()
NSUUID
getIdentifier()
Deprecated.Deprecated in iOS 9.0.NSArray<NSUUID>
getIdentifiersForBridgedAccessories()
Deprecated.Deprecated in iOS 9.0.java.lang.String
getManufacturer()
java.lang.String
getModel()
java.lang.String
getName()
NSArray<HMAccessoryProfile>
getProfiles()
HMRoom
getRoom()
NSArray<HMService>
getServices()
NSUUID
getUniqueIdentifier()
NSArray<NSUUID>
getUniqueIdentifiersForBridgedAccessories()
void
identify(org.robovm.objc.block.VoidBlock1<NSError> completion)
boolean
isBlocked()
boolean
isBridged()
boolean
isReachable()
void
setDelegate(HMAccessoryDelegate v)
boolean
supportsIdentify()
void
updateName(java.lang.String name, org.robovm.objc.block.VoidBlock1<NSError> completion)
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
HMAccessory
public HMAccessory()
-
HMAccessory
protected HMAccessory(NSObject.Handle h, long handle)
-
HMAccessory
protected HMAccessory(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getIdentifier
@Deprecated public NSUUID getIdentifier()
Deprecated.Deprecated in iOS 9.0. No longer supported.- Since:
- Available in iOS 8.0 and later.
-
getUniqueIdentifier
public NSUUID getUniqueIdentifier()
- Since:
- Available in iOS 9.0 and later.
-
getDelegate
public HMAccessoryDelegate getDelegate()
-
setDelegate
public void setDelegate(HMAccessoryDelegate v)
-
isReachable
public boolean isReachable()
-
isBridged
public boolean isBridged()
-
getIdentifiersForBridgedAccessories
@Deprecated public NSArray<NSUUID> getIdentifiersForBridgedAccessories()
Deprecated.Deprecated in iOS 9.0. No longer supported.- Since:
- Available in iOS 8.0 and later.
-
getUniqueIdentifiersForBridgedAccessories
public NSArray<NSUUID> getUniqueIdentifiersForBridgedAccessories()
- Since:
- Available in iOS 9.0 and later.
-
getCategory
public HMAccessoryCategory getCategory()
- Since:
- Available in iOS 9.0 and later.
-
getRoom
public HMRoom getRoom()
-
getProfiles
public NSArray<HMAccessoryProfile> getProfiles()
- Since:
- Available in iOS 11.0 and later.
-
isBlocked
public boolean isBlocked()
-
getModel
public java.lang.String getModel()
- Since:
- Available in iOS 11.0 and later.
-
getManufacturer
public java.lang.String getManufacturer()
- Since:
- Available in iOS 11.0 and later.
-
getFirmwareVersion
public java.lang.String getFirmwareVersion()
- Since:
- Available in iOS 11.0 and later.
-
supportsIdentify
public boolean supportsIdentify()
- Since:
- Available in iOS 11.3 and later.
-
getCameraProfiles
public NSArray<HMCameraProfile> getCameraProfiles()
- Since:
- Available in iOS 10.0 and later.
-
updateName
public void updateName(java.lang.String name, org.robovm.objc.block.VoidBlock1<NSError> completion)
-
identify
public void identify(org.robovm.objc.block.VoidBlock1<NSError> completion)
-
-