sendKey(with:completionHandler:)

Declaration

func sendKey(with params: MTRKeypadInputClusterSendKeyParams, completionHandler: @escaping  @Sendable (MTRKeypadInputClusterSendKeyResponseParams?, (any Error)?) -> Void)
func sendKey(with params: MTRKeypadInputClusterSendKeyParams) async throws -> MTRKeypadInputClusterSendKeyResponseParams