Matter · IOS API REFERENCE
MTRCommandWithRequiredResponse
class · iOS 18.4+ · SDK 27.1
class MTRCommandWithRequiredResponse
Members (7)
init · iOS 18.4+init
TypeScriptstatic init(path: MTRCommandPath, commandFields?: (Record<string, unknown>) | null, requiredResponse?: (NativeMap<_Foundation_NSNumber, Record<string, unknown>>) | null): MTRCommandWithRequiredResponse
Swift declarationinit(path: MTRCommandPath, commandFields: [String : Any]?, requiredResponse: [NSNumber : [String : Any]]?)
get · iOS 18.4+commandFields
TypeScriptget commandFields(): (Record<string, unknown>) | null
Swift declarationvar commandFields: [String : Any]? { get set }
set · iOS 18.4+commandFields
TypeScriptset commandFields(value: (Record<string, unknown>) | null)
Swift declarationvar commandFields: [String : Any]? { get set }
get · iOS 18.4+path
TypeScriptget path(): MTRCommandPath
Swift declarationvar path: MTRCommandPath { get set }
set · iOS 18.4+path
TypeScriptset path(value: MTRCommandPath)
Swift declarationvar path: MTRCommandPath { get set }
get · iOS 18.4+requiredResponse
TypeScriptget requiredResponse(): (NativeMap<_Foundation_NSNumber, Record<string, unknown>>) | null
Swift declarationvar requiredResponse: [NSNumber : [String : Any]]? { get set }
set · iOS 18.4+requiredResponse
TypeScriptset requiredResponse(value: (NativeMap<_Foundation_NSNumber, Record<string, unknown>>) | null)
Swift declarationvar requiredResponse: [NSNumber : [String : Any]]? { get set }
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MTRCommandWithRequiredResponse.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
All Matter types →