Generated from iOS SDK 27.1. Availability is shown on each declaration; permissions and entitlements still apply.
Functions and constants
function · iOS 17.6+MTRAttributeNameForID
TypeScriptMTRAttributeNameForID(clusterID: MTRClusterIDType, attributeID: MTRAttributeIDType): (string) | null
Swift declarationfunc MTRAttributeNameForID(_ clusterID: MTRClusterIDType, _ attributeID: MTRAttributeIDType) -> String!
function · iOS 17.6+MTRClusterNameForID
TypeScriptMTRClusterNameForID(clusterID: MTRClusterIDType): (string) | null
Swift declarationfunc MTRClusterNameForID(_ clusterID: MTRClusterIDType) -> String!
function · iOS 17.6+MTRDeviceControllerStorageClasses
TypeScriptMTRDeviceControllerStorageClasses(): Array<unknown>
Swift declarationfunc MTRDeviceControllerStorageClasses() -> Set<AnyHashable>
function · iOS 18.2+MTREventNameForID
TypeScriptMTREventNameForID(clusterID: MTRClusterIDType, eventID: MTREventIDType): (string) | null
Swift declarationfunc MTREventNameForID(_ clusterID: MTRClusterIDType, _ eventID: MTREventIDType) -> String!
function · iOS 18.2+MTRRequestCommandNameForID
TypeScriptMTRRequestCommandNameForID(clusterID: MTRClusterIDType, commandID: MTRCommandIDType): (string) | null
Swift declarationfunc MTRRequestCommandNameForID(_ clusterID: MTRClusterIDType, _ commandID: MTRCommandIDType) -> String!
function · iOS 18.2+MTRResponseCommandNameForID
TypeScriptMTRResponseCommandNameForID(clusterID: MTRClusterIDType, commandID: MTRCommandIDType): (string) | null
Swift declarationfunc MTRResponseCommandNameForID(_ clusterID: MTRClusterIDType, _ commandID: MTRCommandIDType) -> String!
function · iOS 16.4+MTRSetLogCallback
TypeScriptMTRSetLogCallback(logTypeThreshold: MTRLogType, callback?: (((arg0: MTRLogType, arg1: string, arg2: string) => void)) | null): void
Swift declarationfunc MTRSetLogCallback(_ logTypeThreshold: MTRLogType, _ callback: MTRLogCallback?)
function · iOS 17.6+MTRSetMessageReliabilityParameters
TypeScriptMTRSetMessageReliabilityParameters(idleRetransmitMs?: (_Foundation_NSNumber) | null, activeRetransmitMs?: (_Foundation_NSNumber) | null, activeThresholdMs?: (_Foundation_NSNumber) | null, additionalRetransmitDelayMs?: (_Foundation_NSNumber) | null): void
Swift declarationfunc MTRSetMessageReliabilityParameters(_ idleRetransmitMs: NSNumber?, _ activeRetransmitMs: NSNumber?, _ activeThresholdMs: NSNumber?, _ additionalRetransmitDelayMs: NSNumber?)
get · iOS 16.1+MTRArrayValueType
TypeScriptconst MTRArrayValueType: string
Swift declarationlet MTRArrayValueType: String
get · iOS 16.1+MTRAttributePathKey
TypeScriptconst MTRAttributePathKey: string
Swift declarationlet MTRAttributePathKey: String
get · iOS 16.1+MTRBooleanValueType
TypeScriptconst MTRBooleanValueType: string
Swift declarationlet MTRBooleanValueType: String
get · iOS 16.1+MTRCommandPathKey
TypeScriptconst MTRCommandPathKey: string
Swift declarationlet MTRCommandPathKey: String
get · iOS 27.0+MTRCommissioningSessionTransportType
TypeScriptconst MTRCommissioningSessionTransportType: string
Swift declarationlet MTRCommissioningSessionTransportType: String
get · iOS 16.1+MTRContextTagKey
TypeScriptconst MTRContextTagKey: string
Swift declarationlet MTRContextTagKey: String
get · iOS 16.1+MTRDataKey
TypeScriptconst MTRDataKey: string
Swift declarationlet MTRDataKey: String
get · iOS 17.6+MTRDataVersionKey
TypeScriptconst MTRDataVersionKey: string
Swift declarationlet MTRDataVersionKey: String
get · iOS 18.3+MTRDeviceControllerRegistrationControllerCompressedFabricIDKey
TypeScriptconst MTRDeviceControllerRegistrationControllerCompressedFabricIDKey: string
Swift declarationlet MTRDeviceControllerRegistrationControllerCompressedFabricIDKey: String
get · iOS 18.2+MTRDeviceControllerRegistrationControllerContextKey
TypeScriptconst MTRDeviceControllerRegistrationControllerContextKey: string
Swift declarationlet MTRDeviceControllerRegistrationControllerContextKey: String
get · iOS 18.3+MTRDeviceControllerRegistrationControllerIsRunningKey
TypeScriptconst MTRDeviceControllerRegistrationControllerIsRunningKey: string
Swift declarationlet MTRDeviceControllerRegistrationControllerIsRunningKey: String
get · iOS 18.3+MTRDeviceControllerRegistrationControllerNodeIDKey
TypeScriptconst MTRDeviceControllerRegistrationControllerNodeIDKey: string
Swift declarationlet MTRDeviceControllerRegistrationControllerNodeIDKey: String
get · iOS 18.3+MTRDeviceControllerRegistrationDeviceInternalStateKey
TypeScriptconst MTRDeviceControllerRegistrationDeviceInternalStateKey: string
Swift declarationlet MTRDeviceControllerRegistrationDeviceInternalStateKey: String
get · iOS 18.2+MTRDeviceControllerRegistrationNodeIDKey
TypeScriptconst MTRDeviceControllerRegistrationNodeIDKey: string
Swift declarationlet MTRDeviceControllerRegistrationNodeIDKey: String
get · iOS 18.2+MTRDeviceControllerRegistrationNodeIDsKey
TypeScriptconst MTRDeviceControllerRegistrationNodeIDsKey: string
Swift declarationlet MTRDeviceControllerRegistrationNodeIDsKey: String
get · iOS 16.1+MTRDoubleValueType
TypeScriptconst MTRDoubleValueType: string
Swift declarationlet MTRDoubleValueType: String
get · iOS 16.1+MTRErrorDomain
TypeScriptconst MTRErrorDomain: string
Swift declarationlet MTRErrorDomain: String
get · iOS 16.1+MTRErrorKey
TypeScriptconst MTRErrorKey: string
Swift declarationlet MTRErrorKey: String
get · iOS 17.3+MTREventIsHistoricalKey
TypeScriptconst MTREventIsHistoricalKey: string
Swift declarationlet MTREventIsHistoricalKey: String
get · iOS 16.5+MTREventNumberKey
TypeScriptconst MTREventNumberKey: string
Swift declarationlet MTREventNumberKey: String
get · iOS 16.1+MTREventPathKey
TypeScriptconst MTREventPathKey: string
Swift declarationlet MTREventPathKey: String
get · iOS 16.5+MTREventPriorityKey
TypeScriptconst MTREventPriorityKey: string
Swift declarationlet MTREventPriorityKey: String
get · iOS 16.5+MTREventSystemUpTimeKey
TypeScriptconst MTREventSystemUpTimeKey: string
Swift declarationlet MTREventSystemUpTimeKey: String
get · iOS 16.5+MTREventTimeTypeKey
TypeScriptconst MTREventTimeTypeKey: string
Swift declarationlet MTREventTimeTypeKey: String
get · iOS 16.5+MTREventTimestampDateKey
TypeScriptconst MTREventTimestampDateKey: string
Swift declarationlet MTREventTimestampDateKey: String
get · iOS 16.1+MTRFloatValueType
TypeScriptconst MTRFloatValueType: string
Swift declarationlet MTRFloatValueType: String
get · iOS 16.1+MTRInteractionErrorDomain
TypeScriptconst MTRInteractionErrorDomain: string
Swift declarationlet MTRInteractionErrorDomain: String
get · iOS 16.1+MTRNullValueType
TypeScriptconst MTRNullValueType: string
Swift declarationlet MTRNullValueType: String
get · iOS 16.1+MTROctetStringValueType
TypeScriptconst MTROctetStringValueType: string
Swift declarationlet MTROctetStringValueType: String
get · iOS 17.6+MTRPreviousDataKey
TypeScriptconst MTRPreviousDataKey: string
Swift declarationlet MTRPreviousDataKey: String
get · iOS 16.1+MTRSignedIntegerValueType
TypeScriptconst MTRSignedIntegerValueType: string
Swift declarationlet MTRSignedIntegerValueType: String
get · iOS 16.4+MTRSizeThreadExtendedPANID
TypeScriptconst MTRSizeThreadExtendedPANID: number
Swift declarationlet MTRSizeThreadExtendedPANID: Int
get · iOS 16.1+ · Deprecated in iOS 16.4MTRSizeThreadExtendedPanId
TypeScriptconst MTRSizeThreadExtendedPanId: number
Swift declarationlet MTRSizeThreadExtendedPanId: Int
get · iOS 16.1+MTRSizeThreadMasterKey
TypeScriptconst MTRSizeThreadMasterKey: number
Swift declarationlet MTRSizeThreadMasterKey: Int
get · iOS 16.1+MTRSizeThreadNetworkName
TypeScriptconst MTRSizeThreadNetworkName: number
Swift declarationlet MTRSizeThreadNetworkName: Int
get · iOS 16.4+MTRSizeThreadPANID
TypeScriptconst MTRSizeThreadPANID: number
Swift declarationlet MTRSizeThreadPANID: Int
get · iOS 16.1+MTRSizeThreadPSKc
TypeScriptconst MTRSizeThreadPSKc: number
Swift declarationlet MTRSizeThreadPSKc: Int
get · iOS 16.1+MTRStructureValueType
TypeScriptconst MTRStructureValueType: string
Swift declarationlet MTRStructureValueType: String
get · iOS 16.1+MTRTypeKey
TypeScriptconst MTRTypeKey: string
Swift declarationlet MTRTypeKey: String
get · iOS 16.1+MTRUTF8StringValueType
TypeScriptconst MTRUTF8StringValueType: string
Swift declarationlet MTRUTF8StringValueType: String
get · iOS 27.0+MTRUnpoweredInitialPhase
TypeScriptconst MTRUnpoweredInitialPhase: string
Swift declarationlet MTRUnpoweredInitialPhase: String
get · iOS 16.1+MTRUnsignedIntegerValueType
TypeScriptconst MTRUnsignedIntegerValueType: string
Swift declarationlet MTRUnsignedIntegerValueType: String
get · iOS 16.1+MTRValueKey
TypeScriptconst MTRValueKey: string
Swift declarationlet MTRValueKey: String
getMTR_ENABLE_PROVISIONAL
TypeScriptconst MTR_ENABLE_PROVISIONAL: number
Swift declarationvar MTR_ENABLE_PROVISIONAL: Int32 { get }
getMTR_ENABLE_UNSTABLE_API
TypeScriptconst MTR_ENABLE_UNSTABLE_API: number
Swift declarationvar MTR_ENABLE_UNSTABLE_API: Int32 { get }
getMTR_NO_AVAILABILITY
TypeScriptconst MTR_NO_AVAILABILITY: number
Swift declarationvar MTR_NO_AVAILABILITY: Int32 { get }