VoicevoxCoreSharp.MAUI
0.16.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package VoicevoxCoreSharp.MAUI --version 0.16.0
NuGet\Install-Package VoicevoxCoreSharp.MAUI -Version 0.16.0
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="VoicevoxCoreSharp.MAUI" Version="0.16.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="VoicevoxCoreSharp.MAUI" Version="0.16.0" />
<PackageReference Include="VoicevoxCoreSharp.MAUI" />
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 VoicevoxCoreSharp.MAUI --version 0.16.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: VoicevoxCoreSharp.MAUI, 0.16.0"
#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.
#addin nuget:?package=VoicevoxCoreSharp.MAUI&version=0.16.0
#tool nuget:?package=VoicevoxCoreSharp.MAUI&version=0.16.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
VoicevoxCoreSharp.MAUI
VoicevoxCoreSharp の MAUI アプリケーション向けのヘルパーライブラリです。
Usage
Android や iOS で使用する場合、voicevox_core のライブラリのパスの解決に問題があるため、本ライブラリを import して利用します。
Android
MainApplications.cs のコンストラクタなどで以下のように呼び出します。
using VoicevoxCoreSharp.MAUI; // <- Add
...
public MainApplication(IntPtr handle, JniHandleOwnership ownership)
: base(handle, ownership)
{
CoreHelper.Initialize(null); // <- Add
}
iOS
Program.cs の Main メソッドなどで以下のように呼び出します。
using VoicevoxCoreSharp.MAUI; // <- Add
...
static void Main(string[] args)
{
CoreHelper.Initialize(null);
}
その他の VoicevoxCoreSharp の使い方は、VoicevoxCoreSharp を参照してください。
License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-android34.0 is compatible. net8.0-ios18.0 is compatible. net8.0-maccatalyst18.0 is compatible. net9.0-android was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net10.0-android was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0-android34.0
- VoicevoxCoreSharp.Core (>= 0.16.0)
-
net8.0-ios18.0
- VoicevoxCoreSharp.Core (>= 0.16.0)
-
net8.0-maccatalyst18.0
- VoicevoxCoreSharp.Core (>= 0.16.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.