init
TypeScriptstatic initDeviceEndpointQueue(device: MTRDevice, endpoint: number, queue: _Dispatch_DispatchQueue): (MTRClusterGeneralDiagnostics) | nullSwift declarationinit?(device: MTRDevice, endpoint: UInt16, queue: dispatch_queue_t)class · iOS 16.1+ · SDK 27.1
class MTRClusterGeneralDiagnosticsstatic initDeviceEndpointQueue(device: MTRDevice, endpoint: number, queue: _Dispatch_DispatchQueue): (MTRClusterGeneralDiagnostics) | nullSwift declarationinit?(device: MTRDevice, endpoint: UInt16, queue: dispatch_queue_t)static initDeviceEndpointIDQueue(device: MTRDevice, endpointID: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue): (MTRClusterGeneralDiagnostics) | nullSwift declarationinit?(device: MTRDevice, endpointID: NSNumber, queue: dispatch_queue_t)payloadTestRequest(params: MTRGeneralDiagnosticsClusterPayloadTestRequestParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (MTRGeneralDiagnosticsClusterPayloadTestResponseParams) | null, arg1: (NativeError) | null) => void)): voidSwift declarationfunc payloadTestRequest(with params: MTRGeneralDiagnosticsClusterPayloadTestRequestParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRGeneralDiagnosticsClusterPayloadTestResponseParamsreadAttributeAcceptedCommandList(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeAcceptedCommandList(with params: MTRReadParams?) -> [String : Any]?readAttributeActiveHardwareFaults(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeActiveHardwareFaults(with params: MTRReadParams?) -> [String : Any]?readAttributeActiveNetworkFaults(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeActiveNetworkFaults(with params: MTRReadParams?) -> [String : Any]?readAttributeActiveRadioFaults(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeActiveRadioFaults(with params: MTRReadParams?) -> [String : Any]?readAttributeAttributeList(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeAttributeList(with params: MTRReadParams?) -> [String : Any]?readAttributeBootReason(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeBootReason(with params: MTRReadParams?) -> [String : Any]?readAttributeBootReasons(params?: (MTRReadParams) | null): Record<string, unknown>Swift declarationfunc readAttributeBootReasons(with params: MTRReadParams?) -> [String : Any]readAttributeClusterRevision(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeClusterRevision(with params: MTRReadParams?) -> [String : Any]?readAttributeFeatureMap(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeFeatureMap(with params: MTRReadParams?) -> [String : Any]?readAttributeGeneratedCommandList(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeGeneratedCommandList(with params: MTRReadParams?) -> [String : Any]?readAttributeNetworkInterfaces(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeNetworkInterfaces(with params: MTRReadParams?) -> [String : Any]?readAttributeRebootCount(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeRebootCount(with params: MTRReadParams?) -> [String : Any]?readAttributeTestEventTriggersEnabled(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeTestEventTriggersEnabled(with params: MTRReadParams?) -> [String : Any]?readAttributeTotalOperationalHours(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeTotalOperationalHours(with params: MTRReadParams?) -> [String : Any]?readAttributeUpTime(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeUpTime(with params: MTRReadParams?) -> [String : Any]?testEventTriggerWithExpectedValuesExpectedValueIntervalCompletion(params: MTRGeneralDiagnosticsClusterTestEventTriggerParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc testEventTrigger(with params: MTRGeneralDiagnosticsClusterTestEventTriggerParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throwstestEventTriggerWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRGeneralDiagnosticsClusterTestEventTriggerParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc testEventTrigger(with params: MTRGeneralDiagnosticsClusterTestEventTriggerParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throwstimeSnapshotWithExpectedValuesExpectedValueIntervalCompletion(expectedValues: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (MTRGeneralDiagnosticsClusterTimeSnapshotResponseParams) | null, arg1: (NativeError) | null) => void)): voidSwift declarationfunc timeSnapshot(withExpectedValues expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRGeneralDiagnosticsClusterTimeSnapshotResponseParamstimeSnapshotWithExpectedValuesExpectedValueIntervalCompletion68224(params: (MTRGeneralDiagnosticsClusterTimeSnapshotParams) | null, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (MTRGeneralDiagnosticsClusterTimeSnapshotResponseParams) | null, arg1: (NativeError) | null) => void)): voidSwift declarationfunc timeSnapshot(with params: MTRGeneralDiagnosticsClusterTimeSnapshotParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRGeneralDiagnosticsClusterTimeSnapshotResponseParams1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MTRClusterGeneralDiagnostics.init()
inherited init: cannot prove legal (class declares 2 custom initializers)