Package org.robovm.apple.homekit
Class HMService
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.homekit.HMService
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class HMService extends NSObject
- Since:
- Available in iOS 8.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HMService.HMServicePtr
-
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 HMService()
protected
HMService(NSObject.Handle h, long handle)
protected
HMService(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HMAccessory
getAccessory()
HMServiceType
getAssociatedServiceType()
NSArray<HMCharacteristic>
getCharacteristics()
NSArray<HMService>
getLinkedServices()
java.lang.String
getLocalizedDescription()
java.lang.String
getName()
HMServiceType
getServiceType()
NSUUID
getUniqueIdentifier()
boolean
isPrimaryService()
boolean
isUserInteractive()
void
updateAssociatedServiceType(HMServiceType serviceType, org.robovm.objc.block.VoidBlock1<NSError> completion)
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
-
HMService
public HMService()
-
HMService
protected HMService(NSObject.Handle h, long handle)
-
HMService
protected HMService(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getAccessory
public HMAccessory getAccessory()
-
getServiceType
public HMServiceType getServiceType()
-
getLocalizedDescription
public java.lang.String getLocalizedDescription()
- Since:
- Available in iOS 9.0 and later.
-
getName
public java.lang.String getName()
-
getAssociatedServiceType
public HMServiceType getAssociatedServiceType()
-
getCharacteristics
public NSArray<HMCharacteristic> getCharacteristics()
-
getUniqueIdentifier
public NSUUID getUniqueIdentifier()
- Since:
- Available in iOS 9.0 and later.
-
isUserInteractive
public boolean isUserInteractive()
- Since:
- Available in iOS 9.0 and later.
-
isPrimaryService
public boolean isPrimaryService()
- Since:
- Available in iOS 10.0 and later.
-
getLinkedServices
public NSArray<HMService> getLinkedServices()
- Since:
- Available in iOS 10.0 and later.
-
updateName
public void updateName(java.lang.String name, org.robovm.objc.block.VoidBlock1<NSError> completion)
-
updateAssociatedServiceType
public void updateAssociatedServiceType(HMServiceType serviceType, org.robovm.objc.block.VoidBlock1<NSError> completion)
-
-