Ansight.Motion 1.7.1

dotnet add package Ansight.Motion --version 1.7.1
                    
NuGet\Install-Package Ansight.Motion -Version 1.7.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ansight.Motion" Version="1.7.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ansight.Motion" Version="1.7.1" />
                    
Directory.Packages.props
<PackageReference Include="Ansight.Motion" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Ansight.Motion --version 1.7.1
                    
#r "nuget: Ansight.Motion, 1.7.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Ansight.Motion@1.7.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Ansight.Motion&version=1.7.1
                    
Install as a Cake Addin
#tool nuget:?package=Ansight.Motion&version=1.7.1
                    
Install as a Cake Tool

Ansight.Motion

App-fed shake and accelerometer evidence for Ansight .NET applications.

Enable motion capture when building the runtime options:

using Ansight;
using Ansight.Motion;

var options = Options.CreateBuilder()
    .WithMotionCapture()
    .Build();

Forward motion from the app's existing handlers:

MotionCapture.RecordShake();
MotionCapture.RecordAccelerometer(x, y, z);

Accelerometer values must be in metres per second squared. Samples are limited to one every 20 ms by default. The SDK does not subscribe to sensors or request sensor permissions. Calls made while the runtime is inactive are ignored.

See the motion capture guide for platform guidance and configuration options.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-android35.0 is compatible.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-ios18.0 is compatible.  net9.0-maccatalyst was computed.  net9.0-maccatalyst18.0 is compatible.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Ansight.Motion:

Package Downloads
Ansight

.NET and MAUI SDK for Ansight: runtime evidence from your app for coding agents. Screenshots, visual trees, logs, network, telemetry, and app state, with pairing and remote tools included.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.7.1 0 10/7/2026
1.7.0 47 10/6/2026