One Logo Pool Ball
Matter · IOS API REFERENCE

MTRClusterTestCluster

class · iOS 16.1+ · Deprecated in iOS 16.4 · SDK 27.1

class MTRClusterTestCluster

Members (30)

init · iOS 16.1+ · Deprecated in iOS 16.4

init

TypeScript
static init(device: MTRDevice, endpoint: number, queue: _Dispatch_DispatchQueue): (MTRClusterTestCluster) | null
Swift declaration
init?(device: MTRDevice, endpoint: UInt16, queue: dispatch_queue_t)
method · iOS 16.1+ · Deprecated in iOS 16.4

simpleStructEchoRequest

TypeScript
simpleStructEchoRequest(params: MTRTestClusterClusterSimpleStructEchoRequestParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (MTRTestClusterClusterSimpleStructResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func simpleStructEchoRequest(with params: MTRTestClusterClusterSimpleStructEchoRequestParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRTestClusterClusterSimpleStructResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

testAddArguments

TypeScript
testAddArguments(params: MTRTestClusterClusterTestAddArgumentsParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (MTRTestClusterClusterTestAddArgumentsResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func testAddArguments(with params: MTRTestClusterClusterTestAddArgumentsParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRTestClusterClusterTestAddArgumentsResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

testComplexNullableOptionalRequest

TypeScript
testComplexNullableOptionalRequest(params: MTRTestClusterClusterTestComplexNullableOptionalRequestParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (MTRTestClusterClusterTestComplexNullableOptionalResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func testComplexNullableOptionalRequest(with params: MTRTestClusterClusterTestComplexNullableOptionalRequestParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRTestClusterClusterTestComplexNullableOptionalResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

testEmitTestEventRequest

TypeScript
testEmitTestEventRequest(params: MTRTestClusterClusterTestEmitTestEventRequestParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (MTRTestClusterClusterTestEmitTestEventResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func testEmitTestEventRequest(with params: MTRTestClusterClusterTestEmitTestEventRequestParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRTestClusterClusterTestEmitTestEventResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

testEmitTestFabricScopedEventRequest

TypeScript
testEmitTestFabricScopedEventRequest(params: MTRTestClusterClusterTestEmitTestFabricScopedEventRequestParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (MTRTestClusterClusterTestEmitTestFabricScopedEventResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func testEmitTestFabricScopedEventRequest(with params: MTRTestClusterClusterTestEmitTestFabricScopedEventRequestParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRTestClusterClusterTestEmitTestFabricScopedEventResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

testEnumsRequest

TypeScript
testEnumsRequest(params: MTRTestClusterClusterTestEnumsRequestParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (MTRTestClusterClusterTestEnumsResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func testEnumsRequest(with params: MTRTestClusterClusterTestEnumsRequestParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRTestClusterClusterTestEnumsResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

testListInt8UArgumentRequest

TypeScript
testListInt8UArgumentRequest(params: MTRTestClusterClusterTestListInt8UArgumentRequestParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (MTRTestClusterClusterBooleanResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func testListInt8UArgumentRequest(with params: MTRTestClusterClusterTestListInt8UArgumentRequestParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRTestClusterClusterBooleanResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

testListInt8UReverseRequest

TypeScript
testListInt8UReverseRequest(params: MTRTestClusterClusterTestListInt8UReverseRequestParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (MTRTestClusterClusterTestListInt8UReverseResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func testListInt8UReverseRequest(with params: MTRTestClusterClusterTestListInt8UReverseRequestParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRTestClusterClusterTestListInt8UReverseResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

testListNestedStructListArgumentRequest

TypeScript
testListNestedStructListArgumentRequest(params: MTRTestClusterClusterTestListNestedStructListArgumentRequestParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (MTRTestClusterClusterBooleanResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func testListNestedStructListArgumentRequest(with params: MTRTestClusterClusterTestListNestedStructListArgumentRequestParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRTestClusterClusterBooleanResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

testListStructArgumentRequest

TypeScript
testListStructArgumentRequest(params: MTRTestClusterClusterTestListStructArgumentRequestParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (MTRTestClusterClusterBooleanResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func testListStructArgumentRequest(with params: MTRTestClusterClusterTestListStructArgumentRequestParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRTestClusterClusterBooleanResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

testNestedStructArgumentRequest

TypeScript
testNestedStructArgumentRequest(params: MTRTestClusterClusterTestNestedStructArgumentRequestParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (MTRTestClusterClusterBooleanResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func testNestedStructArgumentRequest(with params: MTRTestClusterClusterTestNestedStructArgumentRequestParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRTestClusterClusterBooleanResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

testNestedStructListArgumentRequest

TypeScript
testNestedStructListArgumentRequest(params: MTRTestClusterClusterTestNestedStructListArgumentRequestParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (MTRTestClusterClusterBooleanResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func testNestedStructListArgumentRequest(with params: MTRTestClusterClusterTestNestedStructListArgumentRequestParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRTestClusterClusterBooleanResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

testNotHandled

TypeScript
testNotHandledWithExpectedValuesExpectedValueIntervalCompletionHandler(expectedValues: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func testNotHandled(withExpectedValues expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4

testNotHandled

TypeScript
testNotHandledWithExpectedValuesExpectedValueIntervalCompletionHandler23502(params: (MTRTestClusterClusterTestNotHandledParams) | null, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func testNotHandled(with params: MTRTestClusterClusterTestNotHandledParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4

testNullableOptionalRequest

TypeScript
testNullableOptionalRequestWithExpectedValuesExpectedValueIntervalCompletionHandler(expectedValues: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (MTRTestClusterClusterTestNullableOptionalResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func testNullableOptionalRequest(withExpectedValues expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRTestClusterClusterTestNullableOptionalResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

testNullableOptionalRequest

TypeScript
testNullableOptionalRequestWithExpectedValuesExpectedValueIntervalCompletionHandler73643(params: (MTRTestClusterClusterTestNullableOptionalRequestParams) | null, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (MTRTestClusterClusterTestNullableOptionalResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func testNullableOptionalRequest(with params: MTRTestClusterClusterTestNullableOptionalRequestParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRTestClusterClusterTestNullableOptionalResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

testSimpleArgumentRequest

TypeScript
testSimpleArgumentRequest(params: MTRTestClusterClusterTestSimpleArgumentRequestParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (MTRTestClusterClusterTestSimpleArgumentResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func testSimpleArgumentRequest(with params: MTRTestClusterClusterTestSimpleArgumentRequestParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRTestClusterClusterTestSimpleArgumentResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

testSimpleOptionalArgumentRequest

TypeScript
testSimpleOptionalArgumentRequestWithExpectedValuesExpectedValueIntervalCompletionHandler(expectedValues: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func testSimpleOptionalArgumentRequest(withExpectedValues expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4

testSimpleOptionalArgumentRequest

TypeScript
testSimpleOptionalArgumentRequestWithExpectedValuesExpectedValueIntervalCompletionHandler61127(params: (MTRTestClusterClusterTestSimpleOptionalArgumentRequestParams) | null, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func testSimpleOptionalArgumentRequest(with params: MTRTestClusterClusterTestSimpleOptionalArgumentRequestParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4

testSpecific

TypeScript
testSpecificWithExpectedValuesExpectedValueIntervalCompletionHandler(expectedValues: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (MTRTestClusterClusterTestSpecificResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func testSpecific(withExpectedValues expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRTestClusterClusterTestSpecificResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

testSpecific

TypeScript
testSpecificWithExpectedValuesExpectedValueIntervalCompletionHandler56835(params: (MTRTestClusterClusterTestSpecificParams) | null, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (MTRTestClusterClusterTestSpecificResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func testSpecific(with params: MTRTestClusterClusterTestSpecificParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRTestClusterClusterTestSpecificResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

testStructArgumentRequest

TypeScript
testStructArgumentRequest(params: MTRTestClusterClusterTestStructArgumentRequestParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (MTRTestClusterClusterBooleanResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func testStructArgumentRequest(with params: MTRTestClusterClusterTestStructArgumentRequestParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRTestClusterClusterBooleanResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

testStructArrayArgumentRequest

TypeScript
testStructArrayArgumentRequest(params: MTRTestClusterClusterTestStructArrayArgumentRequestParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (MTRTestClusterClusterTestStructArrayArgumentResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func testStructArrayArgumentRequest(with params: MTRTestClusterClusterTestStructArrayArgumentRequestParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRTestClusterClusterTestStructArrayArgumentResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

testUnknownCommand

TypeScript
testUnknownCommandWithExpectedValuesExpectedValueIntervalCompletionHandler(expectedValues: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func testUnknownCommand(withExpectedValues expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4

testUnknownCommand

TypeScript
testUnknownCommandWithExpectedValuesExpectedValueIntervalCompletionHandler63656(params: (MTRTestClusterClusterTestUnknownCommandParams) | null, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func testUnknownCommand(with params: MTRTestClusterClusterTestUnknownCommandParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4

test

TypeScript
testWithExpectedValuesExpectedValueIntervalCompletionHandler(expectedValues: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func test(withExpectedValues expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4

test

TypeScript
testWithExpectedValuesExpectedValueIntervalCompletionHandler76759(params: (MTRTestClusterClusterTestParams) | null, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func test(with params: MTRTestClusterClusterTestParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4

timedInvokeRequest

TypeScript
timedInvokeRequestWithExpectedValuesExpectedValueIntervalCompletionHandler(expectedValues: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func timedInvokeRequest(withExpectedValues expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4

timedInvokeRequest

TypeScript
timedInvokeRequestWithExpectedValuesExpectedValueIntervalCompletionHandler39603(params: (MTRTestClusterClusterTimedInvokeRequestParams) | null, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func timedInvokeRequest(with params: MTRTestClusterClusterTimedInvokeRequestParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MTRClusterTestCluster.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All Matter types →