mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-16 21:00:14 +00:00
Add Xamarin support to the ORT nuget packages. - Update C# code to support Xamarin builds for iOS and Android - refactor some things to split out common code - include iOS and Android ORT native shared library in native nuget package
39 lines
No EOL
1.6 KiB
C#
39 lines
No EOL
1.6 KiB
C#
using System.Reflection;
|
|
using System.Runtime.InteropServices;
|
|
using Android.App;
|
|
|
|
// General Information about an assembly is controlled through the following
|
|
// set of attributes. Change these attribute values to modify the information
|
|
// associated with an assembly.
|
|
[assembly: AssemblyTitle("FasterRcnnSample.Forms.Android")]
|
|
[assembly: AssemblyDescription("")]
|
|
[assembly: AssemblyConfiguration("")]
|
|
[assembly: AssemblyCompany("")]
|
|
[assembly: AssemblyProduct("FasterRcnnSample.Forms.Android")]
|
|
[assembly: AssemblyCopyright("Copyright © 2014")]
|
|
[assembly: AssemblyTrademark("")]
|
|
[assembly: AssemblyCulture("")]
|
|
[assembly: ComVisible(false)]
|
|
|
|
// Version information for an assembly consists of the following four values:
|
|
//
|
|
// Major Version
|
|
// Minor Version
|
|
// Build Number
|
|
// Revision
|
|
[assembly: AssemblyVersion("1.0.0.0")]
|
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
|
|
|
// Add some common permissions, these can be removed if not needed
|
|
[assembly: UsesPermission(Android.Manifest.Permission.Internet)]
|
|
[assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)]
|
|
|
|
// Needed for Picking photo/video
|
|
[assembly: UsesPermission(Android.Manifest.Permission.ReadExternalStorage)]
|
|
|
|
// Needed for Taking photo/video
|
|
[assembly: UsesPermission(Android.Manifest.Permission.Camera)]
|
|
|
|
// Add these properties if you would like to filter out devices that do not have cameras, or set to false to make them optional
|
|
[assembly: UsesFeature("android.hardware.camera", Required = true)]
|
|
[assembly: UsesFeature("android.hardware.camera.autofocus", Required = true)] |