SwiftBindings.Apple.MatterSupport
26.2.6
dotnet add package SwiftBindings.Apple.MatterSupport --version 26.2.6
NuGet\Install-Package SwiftBindings.Apple.MatterSupport -Version 26.2.6
<PackageReference Include="SwiftBindings.Apple.MatterSupport" Version="26.2.6" />
<PackageVersion Include="SwiftBindings.Apple.MatterSupport" Version="26.2.6" />
<PackageReference Include="SwiftBindings.Apple.MatterSupport" />
paket add SwiftBindings.Apple.MatterSupport --version 26.2.6
#r "nuget: SwiftBindings.Apple.MatterSupport, 26.2.6"
#:package SwiftBindings.Apple.MatterSupport@26.2.6
#addin nuget:?package=SwiftBindings.Apple.MatterSupport&version=26.2.6
#tool nuget:?package=SwiftBindings.Apple.MatterSupport&version=26.2.6
SwiftBindings.Apple.MatterSupport
Native .NET bindings for Apple's MatterSupport framework — the Swift-level MatterAddDeviceRequest flow that drives Apple's system commissioning UI for Matter accessories.
📖 Full usage guide → — Swift→C# naming, the add-device request flow, device criteria, and the cross-module
Matter.MTRSetupPayloadreference.
MatterAddDeviceRequest.setupPayload returns Matter.MTRSetupPayload, so this package takes a NuGet dependency on SwiftBindings.Apple.Matter. dotnet add package SwiftBindings.Apple.MatterSupport pulls both in.
Installation
dotnet add package SwiftBindings.Apple.MatterSupport
Requirements
- .NET 10.0+
- iOS 16.1+ / macOS 13.3+ / Mac Catalyst 16.4+ (
MatterAddDeviceRequest.isSupportedrequires iOS 17+) - A Matter entitlement on the consuming app and the corresponding
com.apple.developer.matter.allow-setup-payloadcapability
Usage
using Matter;
using MatterSupport;
using var payload = new MTRSetupPayload("MT:U9VJ0OMV172PX813000");
using var home = new MatterAddDeviceRequest.Home("Living Room");
using var topology = new MatterAddDeviceRequest.TopologyType("My Ecosystem", new[] { home });
using var request = new MatterAddDeviceRequest(topology, setupPayload: payload);
await request.PerformAsync();
The MatterAddDeviceRequest.perform() flow drives Apple's system UI for adding a Matter accessory; it can only be invoked on a real device with HomeKit configured. The bindings expose the same shape as Swift — see MatterAddDeviceRequest for the field-level reference.
Documentation
- Usage guide (wiki) — full C# walkthrough of the binding surface
- Apple MatterSupport framework
- Apple Matter framework
How It Works
These bindings are auto-generated by Swift Dotnet Bindings using .NET 10's native Swift interop via the SwiftBindings SDK. The cross-module Matter.MTRSetupPayload reference is satisfied by the sibling SwiftBindings.Apple.Matter package.
License
The bindings are MIT licensed. MatterSupport is part of the Apple SDK; refer to Apple's licensing for the underlying framework.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-ios26.2 is compatible. net10.0-maccatalyst26.2 is compatible. net10.0-macos26.2 is compatible. |
-
net10.0-ios26.2
- SwiftBindings.Apple (>= 26.2.6)
- SwiftBindings.Apple.Matter (>= 26.2.6)
- SwiftBindings.Runtime (>= 0.14.0 && < 0.15.0)
-
net10.0-maccatalyst26.2
- SwiftBindings.Apple (>= 26.2.6)
- SwiftBindings.Apple.Matter (>= 26.2.6)
- SwiftBindings.Runtime (>= 0.14.0 && < 0.15.0)
-
net10.0-macos26.2
- SwiftBindings.Apple (>= 26.2.6)
- SwiftBindings.Apple.Matter (>= 26.2.6)
- SwiftBindings.Runtime (>= 0.14.0 && < 0.15.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.