Merge main into net8.0.
This commit is contained in:
Коммит
90c4972db1
|
@ -16,20 +16,20 @@ jobs:
|
|||
dotnet run https://github.com/$GITHUB_REPOSITORY/pull/${GITHUB_REF_NAME/\/*/} > changelog.txt 2>&1
|
||||
|
||||
# need to replace newlines with actual "\n"
|
||||
rm -f changelog2.txt
|
||||
echo "CHANGELOG_MESSAGE<<EOF" >> changelog2.txt
|
||||
cat changelog.txt | sed -e ':a' -e 'N' -e '$!ba' -e 's/\n/\\n/g' >> changelog2.txt
|
||||
echo EOF >> changelog2.txt
|
||||
cat changelog2.txt
|
||||
CHANGELOG_FILE=changelog2.txt
|
||||
rm -f "$CHANGELOG_FILE"
|
||||
cat changelog.txt | sed -e ':a' -e 'N' -e '$!ba' -e 's/\n/\\n/g' >> "$CHANGELOG_FILE"
|
||||
cat "$CHANGELOG_FILE"
|
||||
|
||||
# export the changelog message
|
||||
cat changelog2.txt >> $GITHUB_ENV
|
||||
cp "$CHANGELOG_FILE" /tmp/changelog.txt
|
||||
|
||||
- name: 'Add changelog'
|
||||
uses: actions/github-script@v6.3.3
|
||||
with:
|
||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||
script: |
|
||||
const fs = require('fs');
|
||||
const changelog_message = fs.readFileSync('/tmp/changelog.txt', 'utf8');
|
||||
// check if we've already added a changelog to this PR, and if so, update that comment, otherwise add a new comment
|
||||
var commentId = ""
|
||||
await github.paginate (github.rest.issues.listComments,
|
||||
|
@ -48,13 +48,13 @@ jobs:
|
|||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
issue_number: context.issue.number,
|
||||
body: '${{ env.CHANGELOG_MESSAGE }}'
|
||||
body: changelog_message
|
||||
})
|
||||
} else {
|
||||
github.rest.issues.updateComment({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
comment_id: commentId,
|
||||
body: '${{ env.CHANGELOG_MESSAGE }}'
|
||||
body: changelog_message
|
||||
})
|
||||
}
|
||||
|
|
|
@ -10,10 +10,13 @@
|
|||
<clear />
|
||||
<!--Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
|
||||
<!-- Begin: Package sources from dotnet-emsdk -->
|
||||
<add key="darc-pub-dotnet-emsdk-d71ea7c" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-d71ea7cb/nuget/v3/index.json" />
|
||||
<add key="darc-pub-dotnet-emsdk-d71ea7c-1" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-d71ea7cb-1/nuget/v3/index.json" />
|
||||
<!-- End: Package sources from dotnet-emsdk -->
|
||||
<!-- Begin: Package sources from dotnet-aspnetcore -->
|
||||
<!-- End: Package sources from dotnet-aspnetcore -->
|
||||
<!-- Begin: Package sources from dotnet-runtime -->
|
||||
<add key="darc-pub-dotnet-runtime-4f15a5c" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-runtime-4f15a5cf/nuget/v3/index.json" />
|
||||
<!-- End: Package sources from dotnet-runtime -->
|
||||
<!--End: Package sources managed by Dependency Flow automation. Do not edit the sources above.-->
|
||||
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" protocolVersion="3" />
|
||||
|
@ -34,6 +37,8 @@
|
|||
<add key="darc-pub-dotnet-runtime-f2980ae" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-runtime-f2980ae1/nuget/v3/index.json" />
|
||||
<!-- And a 6.0.12 feed -->
|
||||
<add key="darc-pub-dotnet-runtime-15d285f" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-runtime-15d285f3/nuget/v3/index.json" />
|
||||
<!-- Add a 6.0.13 feed -->
|
||||
<add key="darc-pub-dotnet-runtime-de84cf9" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-runtime-d5edd29b-1/nuget/v3/index.json" />
|
||||
</packageSources>
|
||||
<disabledPackageSources>
|
||||
<clear />
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "Mac Catalyst Application",
|
||||
"description": "A project for creating a .NET Mac Catalyst application",
|
||||
"name": "Aplikace Mac Catalyst",
|
||||
"description": "Projekt pro vytvoření aplikace .NET Mac Catalyst",
|
||||
"symbols/bundleId/description": "Přepíše CFBundleIdentifier v souboru Info.plist.",
|
||||
"symbols/minOSVersion/description": "Přepíše SupportedOSPlatformVersion v souboru projektu."
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "Mac Catalyst Application",
|
||||
"description": "A project for creating a .NET Mac Catalyst application",
|
||||
"name": "Mac Catalyst-Anwendung",
|
||||
"description": "Ein Projekt zum Erstellen einer .NET Mac-Anwendung",
|
||||
"symbols/bundleId/description": "Überschreibt „CFBundleIdentifier“ in „Info.plist“",
|
||||
"symbols/minOSVersion/description": "Überschreibt „SupportedOSPlatformVersion“ in der Projektdatei."
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "Mac Catalyst Application",
|
||||
"description": "A project for creating a .NET Mac Catalyst application",
|
||||
"name": "Aplicación Mac Catalyst",
|
||||
"description": "Proyecto para crear una aplicación Mac Catalyst de .NET",
|
||||
"symbols/bundleId/description": "Invalida CFBundleIdentifier en Info.plist",
|
||||
"symbols/minOSVersion/description": "Invalida SupportedOSPlatformVersion en el archivo de proyecto"
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "Mac Catalyst Application",
|
||||
"description": "A project for creating a .NET Mac Catalyst application",
|
||||
"name": "Application Mac Catalyst",
|
||||
"description": "Projet de création d’une application Mac Catalyst .NET",
|
||||
"symbols/bundleId/description": "Remplace CFBundleIdentifier dans Info.plist",
|
||||
"symbols/minOSVersion/description": "Remplace SupportedOSPlatformVersion dans le fichier projet"
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "Mac Catalyst Application",
|
||||
"description": "A project for creating a .NET Mac Catalyst application",
|
||||
"name": "Applicazione Mac Catalyst",
|
||||
"description": "Progetto per la creazione di un'applicazione Mac Catalyst .NET",
|
||||
"symbols/bundleId/description": "Esegue l'override di CFBundleIdentifier in Info.plist",
|
||||
"symbols/minOSVersion/description": "Esegue l'override di SupportedOSPlatformVersion nel file di progetto"
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "Mac Catalyst Application",
|
||||
"description": "A project for creating a .NET Mac Catalyst application",
|
||||
"name": "Mac Catalyst アプリケーション",
|
||||
"description": ".NET Mac Catalyst アプリケーションを作成するためのプロジェクト",
|
||||
"symbols/bundleId/description": "Info.plist の CFBundleIdentifier をオーバーライドします",
|
||||
"symbols/minOSVersion/description": "プロジェクト ファイルの SupportedOSPlatformVersion をオーバーライドします"
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "Mac Catalyst Application",
|
||||
"description": "A project for creating a .NET Mac Catalyst application",
|
||||
"name": "Mac Catalyst 애플리케이션",
|
||||
"description": ".NET Mac Catalyst 애플리케이션을 만들기 위한 프로젝트",
|
||||
"symbols/bundleId/description": "Info.plist에서 CFBundleIdentifier 재정의",
|
||||
"symbols/minOSVersion/description": "프로젝트 파일에서 SupportedOSPlatformVersion 재정의"
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "Mac Catalyst Application",
|
||||
"description": "A project for creating a .NET Mac Catalyst application",
|
||||
"name": "Aplikacja Mac Catalyst",
|
||||
"description": "Projekt służący do tworzenia aplikacji platformy .NET Mac Catalyst",
|
||||
"symbols/bundleId/description": "Nadpisuje element CFBundleIdentifier w pliku Info.plist",
|
||||
"symbols/minOSVersion/description": "Nadpisuje element SupportedOSPlatformVersion w pliku projektu"
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "Mac Catalyst Application",
|
||||
"description": "A project for creating a .NET Mac Catalyst application",
|
||||
"name": "Aplicativo Mac Catalyst",
|
||||
"description": "Um projeto para criar um aplicativo .NET Mac Catalyst",
|
||||
"symbols/bundleId/description": "Substitui o CFBundleIdentifier no Info.plist",
|
||||
"symbols/minOSVersion/description": "Substitui o SupportedOSPlatformVersion no arquivo de projetos"
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"author": "Майкрософт",
|
||||
"name": "Mac Catalyst Application",
|
||||
"description": "A project for creating a .NET Mac Catalyst application",
|
||||
"name": "Приложение Mac Catalyst",
|
||||
"description": "Проект для создания приложения .NET Mac Catalyst",
|
||||
"symbols/bundleId/description": "Переопределяет CFBundleIdentifier в Info.plist",
|
||||
"symbols/minOSVersion/description": "Переопределяет SupportedOSPlatformVersion в файле проекта"
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "Mac Catalyst Application",
|
||||
"description": "A project for creating a .NET Mac Catalyst application",
|
||||
"name": "Mac Catalyst Uygulaması",
|
||||
"description": ".NET Mac Catalyst uygulaması oluşturmaya yönelik bir proje",
|
||||
"symbols/bundleId/description": "Info.plist dosyasındaki CFBundleIdentifier öğesini geçersiz kılar",
|
||||
"symbols/minOSVersion/description": "Proje dosyasındaki SupportedOSPlatformVersion öğesini geçersiz kılar"
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "Mac Catalyst Application",
|
||||
"description": "A project for creating a .NET Mac Catalyst application",
|
||||
"name": "Mac Catalyst 应用程序",
|
||||
"description": "用于创建 .NET Mac Catalyst 应用程序的项目",
|
||||
"symbols/bundleId/description": "在 Info.plist 中替代 CFBundleIdentifier",
|
||||
"symbols/minOSVersion/description": "替代项目文件中的 SupportedOSPlatformVersion"
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "Mac Catalyst Application",
|
||||
"description": "A project for creating a .NET Mac Catalyst application",
|
||||
"name": "Mac Catalyst 應用程式",
|
||||
"description": "用於建立 .NET Mac Catalyst 應用程式的專案",
|
||||
"symbols/bundleId/description": "覆寫 Info.plist 中的 CFBundleIdentifier",
|
||||
"symbols/minOSVersion/description": "覆寫專案檔中的 SupportedOSPlatformVersion"
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "Mac Catalyst Binding Library",
|
||||
"description": "A project for creating a .NET Mac Catalyst binding library"
|
||||
"name": "Knihovna vazeb Mac Catalyst",
|
||||
"description": "Projekt pro vytvoření knihovny vazeb .NET Mac Catalyst"
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "Mac Catalyst Binding Library",
|
||||
"description": "A project for creating a .NET Mac Catalyst binding library"
|
||||
"name": "Mac Catalyst-Bindungsbibliothek",
|
||||
"description": "Ein Projekt zum Erstellen einer .NET Mac Catalyst-Bindungsbibliothek"
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "Mac Catalyst Binding Library",
|
||||
"description": "A project for creating a .NET Mac Catalyst binding library"
|
||||
"name": "Biblioteca de enlace de Mac Catalyst",
|
||||
"description": "Proyecto para crear una biblioteca de enlace de Mac Catalyst de .NET"
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "Mac Catalyst Binding Library",
|
||||
"description": "A project for creating a .NET Mac Catalyst binding library"
|
||||
"name": "Bibliothèque de liaisons Mac Catalyst",
|
||||
"description": "Projet de création d’une bibliothèque de liaisons Mac Catalyst .NET"
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "Mac Catalyst Binding Library",
|
||||
"description": "A project for creating a .NET Mac Catalyst binding library"
|
||||
"name": "Libreria di binding Mac Catalyst",
|
||||
"description": "Progetto per la creazione di una libreria di binding Mac Catalyst .NET"
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "Mac Catalyst Binding Library",
|
||||
"description": "A project for creating a .NET Mac Catalyst binding library"
|
||||
"name": "Mac Catalyst バインド ライブラリ",
|
||||
"description": ".NET Mac Catalyst バインド ライブラリを作成するためのプロジェクト"
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "Mac Catalyst Binding Library",
|
||||
"description": "A project for creating a .NET Mac Catalyst binding library"
|
||||
"name": "Mac Catalyst 바인딩 라이브러리",
|
||||
"description": ".NET Mac Catalyst 바인딩 라이브러리를 만들기 위한 프로젝트"
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "Mac Catalyst Binding Library",
|
||||
"description": "A project for creating a .NET Mac Catalyst binding library"
|
||||
"name": "Biblioteka powiązań programu Mac Catalyst",
|
||||
"description": "Projekt służący do tworzenia biblioteki powiązań dla programu .NET Mac Catalyst"
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "Mac Catalyst Binding Library",
|
||||
"description": "A project for creating a .NET Mac Catalyst binding library"
|
||||
"name": "Biblioteca de Vinculação do Mac Catalyst",
|
||||
"description": "Um projeto para criar uma biblioteca de vinculação do .NET Mac Catalyst"
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"author": "Майкрософт",
|
||||
"name": "Mac Catalyst Binding Library",
|
||||
"description": "A project for creating a .NET Mac Catalyst binding library"
|
||||
"name": "Библиотека привязок Mac Catalyst",
|
||||
"description": "Проект для создания библиотеки привязок .NET Mac Catalyst"
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "Mac Catalyst Binding Library",
|
||||
"description": "A project for creating a .NET Mac Catalyst binding library"
|
||||
"name": "Mac Catalyst Bağlama Kitaplığı",
|
||||
"description": ".NET Mac Catalyst bağlama kitaplığı oluşturmaya yönelik bir proje"
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "Mac Catalyst Binding Library",
|
||||
"description": "A project for creating a .NET Mac Catalyst binding library"
|
||||
"name": "Mac Catalyst 绑定库",
|
||||
"description": "用于创建 .NET Mac Catalyst 绑定库的项目"
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "Mac Catalyst Binding Library",
|
||||
"description": "A project for creating a .NET Mac Catalyst binding library"
|
||||
"name": "Mac Catalyst 繫結程式庫",
|
||||
"description": "用於建立 .NET Mac Catalyst 繫結程式庫的專案"
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "iOS Controller",
|
||||
"name": "Kontroler iOS",
|
||||
"description": "Třída kontroleru iOS",
|
||||
"symbols/namespace/description": "obor názvů pro vygenerovaný kód"
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "iOS Controller",
|
||||
"name": "iOS-Controller",
|
||||
"description": "iOS-Controllerklasse",
|
||||
"symbols/namespace/description": "Namespace für den generierten Code"
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "iOS Controller",
|
||||
"name": "Controlador de iOS",
|
||||
"description": "Clase de controladora iOS",
|
||||
"symbols/namespace/description": "espacio de nombres para el código generado"
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "iOS Controller",
|
||||
"name": "Contrôleur iOS",
|
||||
"description": "Classe de contrôleur iOS",
|
||||
"symbols/namespace/description": "espace de noms pour le code généré"
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "iOS Controller",
|
||||
"name": "Controller iOS",
|
||||
"description": "Una classe controller iOS",
|
||||
"symbols/namespace/description": "spazio dei nomi per il codice generato"
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "iOS Controller",
|
||||
"name": "iOS コントローラー",
|
||||
"description": "iOS コントローラー クラス",
|
||||
"symbols/namespace/description": "生成されたコードの名前空間"
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "iOS Controller",
|
||||
"name": "iOS 컨트롤러",
|
||||
"description": "iOS 컨트롤러 클래스",
|
||||
"symbols/namespace/description": "생성된 코드의 네임스페이스"
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "iOS Controller",
|
||||
"name": "Kontroler systemu iOS",
|
||||
"description": "Klasa kontrolera systemu iOS",
|
||||
"symbols/namespace/description": "przestrzeń nazw wygenerowanego kodu."
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "iOS Controller",
|
||||
"name": "Controlador iOS",
|
||||
"description": "Uma classe de Controlador do iOS",
|
||||
"symbols/namespace/description": "namespace do código gerado"
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"author": "Майкрософт",
|
||||
"name": "iOS Controller",
|
||||
"name": "Контроллер iOS",
|
||||
"description": "Класс контроллера iOS",
|
||||
"symbols/namespace/description": "пространство имен для созданного кода"
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "iOS Controller",
|
||||
"name": "iOS Denetleyicisi",
|
||||
"description": "Bir iOS Denetleyici sınıfı",
|
||||
"symbols/namespace/description": "oluşturulan kod için ad alanı"
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "iOS Controller",
|
||||
"name": "iOS 控制器",
|
||||
"description": "iOS 控制器类",
|
||||
"symbols/namespace/description": "生成的代码的命名空间"
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"author": "Microsoft",
|
||||
"name": "iOS Controller",
|
||||
"name": "iOS 控制器",
|
||||
"description": "iOS 控制器類別",
|
||||
"symbols/namespace/description": "適用於產生之程式碼的命名空間"
|
||||
}
|
|
@ -12,7 +12,7 @@
|
|||
"shortName": "ios-storyboard",
|
||||
"sourceName": "Storyboard1",
|
||||
"primaryOutputs": [
|
||||
{ "path": "Stortboard1.storyboard" }
|
||||
{ "path": "Storyboard1.storyboard" }
|
||||
],
|
||||
"defaultName": "Storyboard1"
|
||||
}
|
||||
|
|
|
@ -87,7 +87,7 @@ using (TextWriter writer = new StreamWriter (outputPath)) {
|
|||
foreach (var entry in platforms) {
|
||||
var platform = entry.Item1;
|
||||
var version = entry.Item2;
|
||||
writer.WriteLine ($" <WorkloadPackages Include=\"$(NuGetPackagePath)\\Microsoft.NET.Sdk.{platform}.Manifest*.nupkg\" Version=\"{version}\" />");
|
||||
writer.WriteLine ($" <WorkloadPackages Include=\"$(NuGetPackagePath)\\Microsoft.NET.Sdk.{platform}.Manifest*.nupkg\" Version=\"{version}\" SupportsMachineArch=\"true\" />");
|
||||
}
|
||||
foreach (var entry in platforms) {
|
||||
var platform = entry.Item1;
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 33502e15ba3fa75b68a4a4c303b56ede374dc5ff
|
||||
Subproject commit ac2647b6436972218f07555487abb564506c9eb5
|
|
@ -1148,13 +1148,13 @@
|
|||
<value>Neznámá vlastnost {0} s hodnotou {1}.</value>
|
||||
</data>
|
||||
<data name="E7102" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected no value at all.</value>
|
||||
<value>Neplatná hodnota {0} pro nárok {1} typu {2} zadaná ve skupině položek CustomEntitlements. Neočekávala se vůbec žádná hodnota.</value>
|
||||
<comment>
|
||||
Don't translate: CustomEntitlements (name of option in project file)
|
||||
</comment>
|
||||
</data>
|
||||
<data name="E7103" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected 'true' or 'false'.</value>
|
||||
<value>Neplatná hodnota {0} pro nárok {1} typu {2} zadaná ve skupině položek CustomEntitlements. Očekávala se hodnota true nebo false.</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1162,7 +1162,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="E7104" xml:space="preserve">
|
||||
<value>Unknown type '{0}' for the entitlement '{1}' specified in the CustomEntitlements item group. Expected 'Remove', 'Boolean', 'String', or 'StringArray'.</value>
|
||||
<value>Neznámý typ {0} pro nárok {1} zadaný ve skupině položek CustomEntitlements Očekávala se hodnota Remove, Boolean, String nebo StringArray.</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1170,7 +1170,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="W7105" xml:space="preserve">
|
||||
<value>Unexpected extension '{0}' for native reference '{1}' in manifest '{2}'.</value>
|
||||
<value>Neočekávané rozšíření{0}pro nativní odkaz{1}v manifestu{2}</value>
|
||||
<comment>
|
||||
{0}: file extension
|
||||
{1}: path to a file
|
||||
|
|
|
@ -1148,13 +1148,13 @@
|
|||
<value>Unbekannte Eigenschaft „{0}“ mit dem Wert „{1}“.</value>
|
||||
</data>
|
||||
<data name="E7102" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected no value at all.</value>
|
||||
<value>Ungültiger Wert „{0}“ für die Berechtigung „{1}“ vom Typ „{2}“, die in der CustomEntitlements-Elementgruppe angegeben ist. Es wurde überhaupt kein Wert erwartet.</value>
|
||||
<comment>
|
||||
Don't translate: CustomEntitlements (name of option in project file)
|
||||
</comment>
|
||||
</data>
|
||||
<data name="E7103" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected 'true' or 'false'.</value>
|
||||
<value>Ungültiger Wert „{0}“ für die Berechtigung „{1}“ vom Typ „{2}“, die in der CustomEntitlements-Elementgruppe angegeben ist. Es wurde „true“ oder „false“ erwartet.</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1162,7 +1162,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="E7104" xml:space="preserve">
|
||||
<value>Unknown type '{0}' for the entitlement '{1}' specified in the CustomEntitlements item group. Expected 'Remove', 'Boolean', 'String', or 'StringArray'.</value>
|
||||
<value>Unbekannter Typ „{0}“ für die Berechtigung „{1}“, die in der CustomEntitlements-Elementgruppe angegeben ist. „Remove“, „Boolean“, „String“ oder „StringArray“ wurden erwartet.</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1170,7 +1170,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="W7105" xml:space="preserve">
|
||||
<value>Unexpected extension '{0}' for native reference '{1}' in manifest '{2}'.</value>
|
||||
<value>Unerwartete Erweiterung "{0}" für systemeigenen Verweis "{1}" im Manifest "{2}".</value>
|
||||
<comment>
|
||||
{0}: file extension
|
||||
{1}: path to a file
|
||||
|
|
|
@ -1148,13 +1148,13 @@
|
|||
<value>Propiedad desconocida \"{0}\" con el valor \"{1}\".</value>
|
||||
</data>
|
||||
<data name="E7102" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected no value at all.</value>
|
||||
<value>El valor "{0}" no es válido para el derecho "{1}" de tipo "{2}" especificado en el grupo de elementos CustomEntitlements. No se esperaba ningún valor.</value>
|
||||
<comment>
|
||||
Don't translate: CustomEntitlements (name of option in project file)
|
||||
</comment>
|
||||
</data>
|
||||
<data name="E7103" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected 'true' or 'false'.</value>
|
||||
<value>El valor "{0}" no es válido para el derecho "{1}" de tipo "{2}" especificado en el grupo de elementos CustomEntitlements. Se esperaba "true" o "false".</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1162,7 +1162,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="E7104" xml:space="preserve">
|
||||
<value>Unknown type '{0}' for the entitlement '{1}' specified in the CustomEntitlements item group. Expected 'Remove', 'Boolean', 'String', or 'StringArray'.</value>
|
||||
<value>Tipo desconocido "{0}" para el derecho "{1}" especificado en el grupo de elementos CustomEntitlements. Se esperaba "Remove", "Boolean", "String" o "StringArray".</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1170,7 +1170,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="W7105" xml:space="preserve">
|
||||
<value>Unexpected extension '{0}' for native reference '{1}' in manifest '{2}'.</value>
|
||||
<value>Extensión inesperada '{0}' para la referencia nativa '{1}' en el manifiesto '{2}'.</value>
|
||||
<comment>
|
||||
{0}: file extension
|
||||
{1}: path to a file
|
||||
|
|
|
@ -1148,13 +1148,13 @@
|
|||
<value>Propriété inconnue '{0}' avec la valeur '{1}'.</value>
|
||||
</data>
|
||||
<data name="E7102" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected no value at all.</value>
|
||||
<value>Valeur «{0}» non valide pour le droit «{1}» de type «{2}» spécifié dans le groupe d’éléments CustomEntitlements. Aucune valeur attendue.</value>
|
||||
<comment>
|
||||
Don't translate: CustomEntitlements (name of option in project file)
|
||||
</comment>
|
||||
</data>
|
||||
<data name="E7103" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected 'true' or 'false'.</value>
|
||||
<value>Valeur «{0}» non valide pour le droit «{1}» de type «{2}» spécifié dans le groupe d’éléments CustomEntitlements. 'true' ou 'false' attendu.</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1162,7 +1162,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="E7104" xml:space="preserve">
|
||||
<value>Unknown type '{0}' for the entitlement '{1}' specified in the CustomEntitlements item group. Expected 'Remove', 'Boolean', 'String', or 'StringArray'.</value>
|
||||
<value>Type inconnu '{0}' pour le droit '{1}' spécifié dans le groupe d’éléments CustomEntitlements. 'Remove', 'Boolean', 'String' ou 'StringArray' attendu.</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1170,7 +1170,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="W7105" xml:space="preserve">
|
||||
<value>Unexpected extension '{0}' for native reference '{1}' in manifest '{2}'.</value>
|
||||
<value>Extension inattendue '{0}' pour la référence native '{1}' dans le manifeste '{2}'.</value>
|
||||
<comment>
|
||||
{0}: file extension
|
||||
{1}: path to a file
|
||||
|
|
|
@ -1148,13 +1148,13 @@
|
|||
<value>Proprietà sconosciuta '{0}' con valore '{1}'.</value>
|
||||
</data>
|
||||
<data name="E7102" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected no value at all.</value>
|
||||
<value>Valore non valido '{0}' per l'entitlement '{1}' di tipo '{2}' specificato nel gruppo di elementi CustomEntitlements. Valore previsto: nessun valore.</value>
|
||||
<comment>
|
||||
Don't translate: CustomEntitlements (name of option in project file)
|
||||
</comment>
|
||||
</data>
|
||||
<data name="E7103" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected 'true' or 'false'.</value>
|
||||
<value>Valore non valido '{0}' per l'entitlement '{1}' di tipo '{2}' specificato nel gruppo di elementi CustomEntitlements. Valore previsto: 'true' o 'false'.</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1162,7 +1162,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="E7104" xml:space="preserve">
|
||||
<value>Unknown type '{0}' for the entitlement '{1}' specified in the CustomEntitlements item group. Expected 'Remove', 'Boolean', 'String', or 'StringArray'.</value>
|
||||
<value>Tipo sconosciuto '{0}' per l'entitlement '{1}' specificato nel gruppo di elementi CustomEntitlements. Valore previsto: 'Remove', 'Boolean', 'String' o 'StringArray'.</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1170,7 +1170,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="W7105" xml:space="preserve">
|
||||
<value>Unexpected extension '{0}' for native reference '{1}' in manifest '{2}'.</value>
|
||||
<value>Estensione imprevista '{0}' per il riferimento nativo '{1}' nel manifesto '{2}'.</value>
|
||||
<comment>
|
||||
{0}: file extension
|
||||
{1}: path to a file
|
||||
|
|
|
@ -1148,13 +1148,13 @@
|
|||
<value>値 '{1}' のプロパティ '{0}' が不明です。</value>
|
||||
</data>
|
||||
<data name="E7102" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected no value at all.</value>
|
||||
<value>CustomEntitlements アイテム グループで指定された '{2}' 種類のエンタイトルメント '{1}' の値 '{0}' が無効です。値がないことが必要です。</value>
|
||||
<comment>
|
||||
Don't translate: CustomEntitlements (name of option in project file)
|
||||
</comment>
|
||||
</data>
|
||||
<data name="E7103" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected 'true' or 'false'.</value>
|
||||
<value>CustomEntitlements アイテム グループで指定された '{2}' 種類のエンタイトルメント '{1}' の値 '{0}' が無効です。'true' または 'false' であることが必要です。</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1162,7 +1162,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="E7104" xml:space="preserve">
|
||||
<value>Unknown type '{0}' for the entitlement '{1}' specified in the CustomEntitlements item group. Expected 'Remove', 'Boolean', 'String', or 'StringArray'.</value>
|
||||
<value>CustomEntitlements アイテム グループで指定されたエンタイトルメント '{1}' の不明な種類 '{0}'。'Remove'、'Boolean'、'String'、または 'StringArray' が必要です。</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1170,7 +1170,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="W7105" xml:space="preserve">
|
||||
<value>Unexpected extension '{0}' for native reference '{1}' in manifest '{2}'.</value>
|
||||
<value>マニフェスト '{2}' のネイティブ参照 '{1}' に予期しない拡張機能 '{0}'。</value>
|
||||
<comment>
|
||||
{0}: file extension
|
||||
{1}: path to a file
|
||||
|
|
|
@ -1148,13 +1148,13 @@
|
|||
<value>알 수 없는 속성 '{0}'과(와) 값 '{1}'입니다.</value>
|
||||
</data>
|
||||
<data name="E7102" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected no value at all.</value>
|
||||
<value>CustomEntitlements 항목 그룹에 지정된 '{2}' 유형의 인타이틀먼트 '{1}'에 대한 값 '{0}'이(가) 잘못되었습니다. 값이 전혀 필요되지 않습니다.</value>
|
||||
<comment>
|
||||
Don't translate: CustomEntitlements (name of option in project file)
|
||||
</comment>
|
||||
</data>
|
||||
<data name="E7103" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected 'true' or 'false'.</value>
|
||||
<value>CustomEntitlements 항목 그룹에 지정된 '{2}' 유형의 인타이틀먼트 '{1}'에 대한 값 '{0}'이(가) 잘못되었습니다. 'true' 또는 'false'가 필요합니다.</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1162,7 +1162,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="E7104" xml:space="preserve">
|
||||
<value>Unknown type '{0}' for the entitlement '{1}' specified in the CustomEntitlements item group. Expected 'Remove', 'Boolean', 'String', or 'StringArray'.</value>
|
||||
<value>CustomEntitlements 항목 그룹에 지정된 인타이틀먼트 '{1}'에 대해 알 수 없는 유형 '{0}'. 'Remove', 'Boolean', 'String' 또는 'StringArray'가 필요합니다.</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1170,7 +1170,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="W7105" xml:space="preserve">
|
||||
<value>Unexpected extension '{0}' for native reference '{1}' in manifest '{2}'.</value>
|
||||
<value>매니페스트 '{2}'의 네이티브 참조 '{1}'에 대한 예기치 않은 확장 '{0}'.</value>
|
||||
<comment>
|
||||
{0}: file extension
|
||||
{1}: path to a file
|
||||
|
|
|
@ -1148,13 +1148,13 @@
|
|||
<value>Nieznana właściwość „{0}“ z wartością „{1}“.</value>
|
||||
</data>
|
||||
<data name="E7102" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected no value at all.</value>
|
||||
<value>Nieprawidłowa wartość „{0}” dla uprawnienia „{1}” typu „{2}” określona w grupie elementów CustomEntitlements. Nie oczekiwano żadnej wartości.</value>
|
||||
<comment>
|
||||
Don't translate: CustomEntitlements (name of option in project file)
|
||||
</comment>
|
||||
</data>
|
||||
<data name="E7103" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected 'true' or 'false'.</value>
|
||||
<value>Nieprawidłowa wartość „{0}” dla uprawnienia „{1}” typu „{2}” określona w grupie elementów CustomEntitlements. Oczekiwano wartości „true” lub „false”.</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1162,7 +1162,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="E7104" xml:space="preserve">
|
||||
<value>Unknown type '{0}' for the entitlement '{1}' specified in the CustomEntitlements item group. Expected 'Remove', 'Boolean', 'String', or 'StringArray'.</value>
|
||||
<value>Nieznany typ „{0}” dla uprawnienia „{1}” określony w grupie elementów CustomEntitlements. Oczekiwano instrukcji „Remove”, „Boolean”, „String” lub „StringArray”.</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1170,7 +1170,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="W7105" xml:space="preserve">
|
||||
<value>Unexpected extension '{0}' for native reference '{1}' in manifest '{2}'.</value>
|
||||
<value>Nieoczekiwane rozszerzenie „{0}” dla natywnego odwołania „{1}” w manifeście „{2}”.</value>
|
||||
<comment>
|
||||
{0}: file extension
|
||||
{1}: path to a file
|
||||
|
|
|
@ -1148,13 +1148,13 @@
|
|||
<value>Propriedade desconhecida '{0}' com valor '{1}'.</value>
|
||||
</data>
|
||||
<data name="E7102" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected no value at all.</value>
|
||||
<value>Valor '{0}' inválido para o direito '{1}' do tipo '{2}' especificado no grupo de itens CustomEntitlements. Nenhum valor esperado.</value>
|
||||
<comment>
|
||||
Don't translate: CustomEntitlements (name of option in project file)
|
||||
</comment>
|
||||
</data>
|
||||
<data name="E7103" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected 'true' or 'false'.</value>
|
||||
<value>Valor '{0}' inválido para o direito '{1}' do tipo '{2}' especificado no grupo de itens CustomEntitlements. Esperado 'true' ou 'false'.</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1162,7 +1162,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="E7104" xml:space="preserve">
|
||||
<value>Unknown type '{0}' for the entitlement '{1}' specified in the CustomEntitlements item group. Expected 'Remove', 'Boolean', 'String', or 'StringArray'.</value>
|
||||
<value>Tipo '{0}' desconhecido para o direito '{1}' especificado no grupo de itens CustomEntitlements. Esperado 'Remove', 'Boolean', 'String' ou 'StringArray'.</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1170,7 +1170,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="W7105" xml:space="preserve">
|
||||
<value>Unexpected extension '{0}' for native reference '{1}' in manifest '{2}'.</value>
|
||||
<value>Extensão inesperada '{0}' para referência nativa '{1}' no manifesto '{2}'.</value>
|
||||
<comment>
|
||||
{0}: file extension
|
||||
{1}: path to a file
|
||||
|
|
|
@ -1148,13 +1148,13 @@
|
|||
<value>Неизвестное свойство \"{0}\" со значением \"{1}\".</value>
|
||||
</data>
|
||||
<data name="E7102" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected no value at all.</value>
|
||||
<value>Недопустимое значение "{0}" для объема обслуживания "{1}" типа "{2}", указанного в группе элементов CustomEntitlements. Ожидается отсутствие значения.</value>
|
||||
<comment>
|
||||
Don't translate: CustomEntitlements (name of option in project file)
|
||||
</comment>
|
||||
</data>
|
||||
<data name="E7103" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected 'true' or 'false'.</value>
|
||||
<value>Недопустимое значение "{0}" для объема обслуживания "{1}" типа "{2}", указанного в группе элементов CustomEntitlements. Ожидается ИСТИНА или ЛОЖЬ.</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1162,7 +1162,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="E7104" xml:space="preserve">
|
||||
<value>Unknown type '{0}' for the entitlement '{1}' specified in the CustomEntitlements item group. Expected 'Remove', 'Boolean', 'String', or 'StringArray'.</value>
|
||||
<value>Неизвестный тип "{0}" для объема обслуживания "{1}", указанного в группе элементов CustomEntitlements. Ожидается "Remove", "Boolean", "String" или "StringArray".</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1170,7 +1170,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="W7105" xml:space="preserve">
|
||||
<value>Unexpected extension '{0}' for native reference '{1}' in manifest '{2}'.</value>
|
||||
<value>Непредвиденное расширение "{0}" для собственной ссылки "{1}" в манифесте "{2}".</value>
|
||||
<comment>
|
||||
{0}: file extension
|
||||
{1}: path to a file
|
||||
|
|
|
@ -1148,13 +1148,13 @@
|
|||
<value>'{0}' değerine sahip bilinmeyen özellik '{1}'.</value>
|
||||
</data>
|
||||
<data name="E7102" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected no value at all.</value>
|
||||
<value>'{2}' türündeki '{1}' yetkilendirmesi için CustomEntitlements öğe grubunda belirtilen '{0}' değeri geçersiz. Hiçbir değer beklenmiyordu.</value>
|
||||
<comment>
|
||||
Don't translate: CustomEntitlements (name of option in project file)
|
||||
</comment>
|
||||
</data>
|
||||
<data name="E7103" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected 'true' or 'false'.</value>
|
||||
<value>'{2}' türündeki '{1}' yetkilendirmesi için CustomEntitlements öğe grubunda belirtilen '{0}' değeri geçersiz. 'true' veya 'false' bekleniyordu.</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1162,7 +1162,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="E7104" xml:space="preserve">
|
||||
<value>Unknown type '{0}' for the entitlement '{1}' specified in the CustomEntitlements item group. Expected 'Remove', 'Boolean', 'String', or 'StringArray'.</value>
|
||||
<value>'{1}' yetkilendirmesi için CustomEntitlements öğe grubunda belirtilen '{0}' türü bilinmiyor. 'Remove', 'Boolean', 'String' veya 'StringArray' bekleniyordu.</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1170,7 +1170,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="W7105" xml:space="preserve">
|
||||
<value>Unexpected extension '{0}' for native reference '{1}' in manifest '{2}'.</value>
|
||||
<value>'{2}' bildiriminde '{1}' yerel başvurusu için beklenmeyen '{0}' uzantısı.</value>
|
||||
<comment>
|
||||
{0}: file extension
|
||||
{1}: path to a file
|
||||
|
|
|
@ -1148,13 +1148,13 @@
|
|||
<value>值为“{1}”的未知属性“{0}”。</value>
|
||||
</data>
|
||||
<data name="E7102" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected no value at all.</value>
|
||||
<value>在 CustomEntitlements 项组中为类型为“{2}”的权利“{1}”指定的值“{0}”无效。根本不应为任何值。</value>
|
||||
<comment>
|
||||
Don't translate: CustomEntitlements (name of option in project file)
|
||||
</comment>
|
||||
</data>
|
||||
<data name="E7103" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected 'true' or 'false'.</value>
|
||||
<value>在 CustomEntitlements 项组中为类型为“{2}”的权利“{1}”指定的值“{0}”无效。应为 “true” 或 “false”。</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1162,7 +1162,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="E7104" xml:space="preserve">
|
||||
<value>Unknown type '{0}' for the entitlement '{1}' specified in the CustomEntitlements item group. Expected 'Remove', 'Boolean', 'String', or 'StringArray'.</value>
|
||||
<value>在 CustomEntitlements 项组中指定的权利“{1}”的类型“{0}”未知。应为 “Remove”、“Boolean”、“String” 或“StringArray”。</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1170,7 +1170,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="W7105" xml:space="preserve">
|
||||
<value>Unexpected extension '{0}' for native reference '{1}' in manifest '{2}'.</value>
|
||||
<value>清单“{2}”中本机引用“{1}”的意外扩展“{0}”。</value>
|
||||
<comment>
|
||||
{0}: file extension
|
||||
{1}: path to a file
|
||||
|
|
|
@ -1148,13 +1148,13 @@
|
|||
<value>值為 '{1}' 的未知屬性'{0}'。</value>
|
||||
</data>
|
||||
<data name="E7102" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected no value at all.</value>
|
||||
<value>CustomEntitlements 項目群組中指定之類型為 '{2}' 之權利 '{1}' 的值 '{0}' 無效。預期沒有任何值。</value>
|
||||
<comment>
|
||||
Don't translate: CustomEntitlements (name of option in project file)
|
||||
</comment>
|
||||
</data>
|
||||
<data name="E7103" xml:space="preserve">
|
||||
<value>Invalid value '{0}' for the entitlement '{1}' of type '{2}' specified in the CustomEntitlements item group. Expected 'true' or 'false'.</value>
|
||||
<value>CustomEntitlements 項目群組中指定之類型為 '{2}' 之權利 '{1}' 的值 '{0}' 無效。必須是 'true' 或 'false'。</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1162,7 +1162,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="E7104" xml:space="preserve">
|
||||
<value>Unknown type '{0}' for the entitlement '{1}' specified in the CustomEntitlements item group. Expected 'Remove', 'Boolean', 'String', or 'StringArray'.</value>
|
||||
<value>CustomEntitlements 項目群組中指定之權利 '{1}' 的未知類型 '{0}'。必須是 'Remove'、'Boolean'、'String' 或 'StringArray'。</value>
|
||||
<comment>
|
||||
Don't translate:
|
||||
* CustomEntitlements (name of option in project file)
|
||||
|
@ -1170,7 +1170,7 @@
|
|||
</comment>
|
||||
</data>
|
||||
<data name="W7105" xml:space="preserve">
|
||||
<value>Unexpected extension '{0}' for native reference '{1}' in manifest '{2}'.</value>
|
||||
<value>在資訊清單 '{2}' 中的原生參考 '{1}' 發生非預期的延伸模組 '{0}'。</value>
|
||||
<comment>
|
||||
{0}: file extension
|
||||
{1}: path to a file
|
||||
|
|
|
@ -22,9 +22,7 @@ namespace Microsoft.Build.Tasks {
|
|||
return result;
|
||||
}
|
||||
|
||||
foreach (var file in Files) {
|
||||
client.DeleteFileAsync (file.ItemSpec).Wait ();
|
||||
}
|
||||
client.DeleteFilesAsync (Files.Select (x => x.ItemSpec).ToArray ()).Wait ();
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
|
@ -49,8 +49,9 @@ namespace Foundation {
|
|||
|
||||
void AppendNativeStackTrace (StringBuilder sb)
|
||||
{
|
||||
if (native_exc is not null) {
|
||||
foreach (var symbol in native_exc.CallStackSymbols)
|
||||
var callStackSymbols = native_exc?.CallStackSymbols;
|
||||
if (callStackSymbols is not null) {
|
||||
foreach (var symbol in callStackSymbols)
|
||||
sb.Append ('\t').AppendLine (symbol);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -69,13 +69,13 @@ namespace Foundation {
|
|||
public NSDocumentType DocumentType {
|
||||
get {
|
||||
var s = GetNSStringValue (UIStringAttributeKey.NSDocumentTypeDocumentAttribute);
|
||||
if (s == UIStringAttributeKey.NSPlainTextDocumentType)
|
||||
if (s == NSAttributedStringDocumentType.NSPlainTextDocumentType)
|
||||
return NSDocumentType.PlainText;
|
||||
if (s == UIStringAttributeKey.NSRTFDTextDocumentType)
|
||||
if (s == NSAttributedStringDocumentType.NSRtfdTextDocumentType)
|
||||
return NSDocumentType.RTFD;
|
||||
if (s == UIStringAttributeKey.NSRTFTextDocumentType)
|
||||
if (s == NSAttributedStringDocumentType.NSRtfTextDocumentType)
|
||||
return NSDocumentType.RTF;
|
||||
if (s == UIStringAttributeKey.NSHTMLTextDocumentType)
|
||||
if (s == NSAttributedStringDocumentType.NSHtmlTextDocumentType)
|
||||
return NSDocumentType.HTML;
|
||||
return NSDocumentType.Unknown;
|
||||
}
|
||||
|
@ -83,16 +83,16 @@ namespace Foundation {
|
|||
set {
|
||||
switch (value) {
|
||||
case NSDocumentType.PlainText:
|
||||
SetStringValue (UIStringAttributeKey.NSDocumentTypeDocumentAttribute, UIStringAttributeKey.NSPlainTextDocumentType);
|
||||
SetStringValue (UIStringAttributeKey.NSDocumentTypeDocumentAttribute, NSAttributedStringDocumentType.NSPlainTextDocumentType);
|
||||
break;
|
||||
case NSDocumentType.RTFD:
|
||||
SetStringValue (UIStringAttributeKey.NSDocumentTypeDocumentAttribute, UIStringAttributeKey.NSRTFDTextDocumentType);
|
||||
SetStringValue (UIStringAttributeKey.NSDocumentTypeDocumentAttribute, NSAttributedStringDocumentType.NSRtfdTextDocumentType);
|
||||
break;
|
||||
case NSDocumentType.RTF:
|
||||
SetStringValue (UIStringAttributeKey.NSDocumentTypeDocumentAttribute, UIStringAttributeKey.NSRTFTextDocumentType);
|
||||
SetStringValue (UIStringAttributeKey.NSDocumentTypeDocumentAttribute, NSAttributedStringDocumentType.NSRtfTextDocumentType);
|
||||
break;
|
||||
case NSDocumentType.HTML:
|
||||
SetStringValue (UIStringAttributeKey.NSDocumentTypeDocumentAttribute, UIStringAttributeKey.NSHTMLTextDocumentType);
|
||||
SetStringValue (UIStringAttributeKey.NSDocumentTypeDocumentAttribute, NSAttributedStringDocumentType.NSHtmlTextDocumentType);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -194,25 +194,25 @@ namespace Foundation
|
|||
get {
|
||||
var s = GetNSStringValue (NSStringAttributeKey.NSDocumentTypeDocumentOption);
|
||||
|
||||
if (s == NSStringAttributeKey.NSPlainTextDocumentType)
|
||||
if (s == NSAttributedStringDocumentType.NSPlainTextDocumentType)
|
||||
return NSDocumentType.PlainText;
|
||||
if (s == NSStringAttributeKey.NSRtfTextDocumentType)
|
||||
if (s == NSAttributedStringDocumentType.NSRtfTextDocumentType)
|
||||
return NSDocumentType.RTF;
|
||||
if (s == NSStringAttributeKey.NSRtfdTextDocumentType)
|
||||
if (s == NSAttributedStringDocumentType.NSRtfdTextDocumentType)
|
||||
return NSDocumentType.RTFD;
|
||||
if (s == NSStringAttributeKey.NSMacSimpleTextDocumentType)
|
||||
if (s == NSAttributedStringDocumentType.NSMacSimpleTextDocumentType)
|
||||
return NSDocumentType.MacSimpleText;
|
||||
if (s == NSStringAttributeKey.NSHTMLTextDocumentType)
|
||||
if (s == NSAttributedStringDocumentType.NSHtmlTextDocumentType)
|
||||
return NSDocumentType.HTML;
|
||||
if (s == NSStringAttributeKey.NSDocFormatTextDocumentType)
|
||||
if (s == NSAttributedStringDocumentType.NSDocFormatTextDocumentType)
|
||||
return NSDocumentType.DocFormat;
|
||||
if (s == NSStringAttributeKey.NSWordMLTextDocumentType)
|
||||
if (s == NSAttributedStringDocumentType.NSWordMLTextDocumentType)
|
||||
return NSDocumentType.WordML;
|
||||
if (s == NSStringAttributeKey.NSWebArchiveTextDocumentType)
|
||||
if (s == NSAttributedStringDocumentType.NSWebArchiveTextDocumentType)
|
||||
return NSDocumentType.WebArchive;
|
||||
if (s == NSStringAttributeKey.NSOfficeOpenXMLTextDocumentType)
|
||||
if (s == NSAttributedStringDocumentType.NSOfficeOpenXMLTextDocumentType)
|
||||
return NSDocumentType.OfficeOpenXml;
|
||||
if (s == NSStringAttributeKey.NSOpenDocumentTextDocumentType)
|
||||
if (s == NSAttributedStringDocumentType.NSOpenDocumentTextDocumentType)
|
||||
return NSDocumentType.OpenDocument;
|
||||
return NSDocumentType.Unknown;
|
||||
}
|
||||
|
@ -220,34 +220,34 @@ namespace Foundation
|
|||
set {
|
||||
switch (value){
|
||||
case NSDocumentType.PlainText:
|
||||
SetStringValue (NSStringAttributeKey.NSDocumentTypeDocumentOption, NSStringAttributeKey.NSPlainTextDocumentType);
|
||||
SetStringValue (NSStringAttributeKey.NSDocumentTypeDocumentOption, NSAttributedStringDocumentType.NSPlainTextDocumentType);
|
||||
break;
|
||||
case NSDocumentType.RTFD:
|
||||
SetStringValue (NSStringAttributeKey.NSDocumentTypeDocumentOption, NSStringAttributeKey.NSRtfdTextDocumentType);
|
||||
SetStringValue (NSStringAttributeKey.NSDocumentTypeDocumentOption, NSAttributedStringDocumentType.NSRtfdTextDocumentType);
|
||||
break;
|
||||
case NSDocumentType.RTF:
|
||||
SetStringValue (NSStringAttributeKey.NSDocumentTypeDocumentOption, NSStringAttributeKey.NSRtfTextDocumentType);
|
||||
SetStringValue (NSStringAttributeKey.NSDocumentTypeDocumentOption, NSAttributedStringDocumentType.NSRtfTextDocumentType);
|
||||
break;
|
||||
case NSDocumentType.HTML:
|
||||
SetStringValue (NSStringAttributeKey.NSDocumentTypeDocumentOption, NSStringAttributeKey.NSHTMLTextDocumentType);
|
||||
SetStringValue (NSStringAttributeKey.NSDocumentTypeDocumentOption, NSAttributedStringDocumentType.NSHtmlTextDocumentType);
|
||||
break;
|
||||
case NSDocumentType.MacSimpleText:
|
||||
SetStringValue (NSStringAttributeKey.NSDocumentTypeDocumentOption, NSStringAttributeKey.NSMacSimpleTextDocumentType);
|
||||
SetStringValue (NSStringAttributeKey.NSDocumentTypeDocumentOption, NSAttributedStringDocumentType.NSMacSimpleTextDocumentType);
|
||||
break;
|
||||
case NSDocumentType.DocFormat:
|
||||
SetStringValue (NSStringAttributeKey.NSDocumentTypeDocumentOption, NSStringAttributeKey.NSDocFormatTextDocumentType);
|
||||
SetStringValue (NSStringAttributeKey.NSDocumentTypeDocumentOption, NSAttributedStringDocumentType.NSDocFormatTextDocumentType);
|
||||
break;
|
||||
case NSDocumentType.WordML:
|
||||
SetStringValue (NSStringAttributeKey.NSDocumentTypeDocumentOption, NSStringAttributeKey.NSWordMLTextDocumentType);
|
||||
SetStringValue (NSStringAttributeKey.NSDocumentTypeDocumentOption, NSAttributedStringDocumentType.NSWordMLTextDocumentType);
|
||||
break;
|
||||
case NSDocumentType.WebArchive:
|
||||
SetStringValue (NSStringAttributeKey.NSDocumentTypeDocumentOption, NSStringAttributeKey.NSWebArchiveTextDocumentType);
|
||||
SetStringValue (NSStringAttributeKey.NSDocumentTypeDocumentOption, NSAttributedStringDocumentType.NSWebArchiveTextDocumentType);
|
||||
break;
|
||||
case NSDocumentType.OfficeOpenXml:
|
||||
SetStringValue (NSStringAttributeKey.NSDocumentTypeDocumentOption, NSStringAttributeKey.NSOfficeOpenXMLTextDocumentType);
|
||||
SetStringValue (NSStringAttributeKey.NSDocumentTypeDocumentOption, NSAttributedStringDocumentType.NSOfficeOpenXMLTextDocumentType);
|
||||
break;
|
||||
case NSDocumentType.OpenDocument:
|
||||
SetStringValue (NSStringAttributeKey.NSDocumentTypeDocumentOption, NSStringAttributeKey.NSOpenDocumentTextDocumentType);
|
||||
SetStringValue (NSStringAttributeKey.NSDocumentTypeDocumentOption, NSAttributedStringDocumentType.NSOpenDocumentTextDocumentType);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
// Copyright 2015, Xamarin Inc.
|
||||
//
|
||||
|
||||
#nullable enable
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
|
@ -17,12 +19,33 @@ namespace Foundation {
|
|||
[StructLayout (LayoutKind.Sequential)]
|
||||
internal struct NSFastEnumerationState {
|
||||
nint state;
|
||||
internal IntPtr itemsPtr;
|
||||
internal IntPtr mutationsPtr;
|
||||
unsafe internal IntPtr* itemsPtr;
|
||||
unsafe internal IntPtr* mutationsPtr;
|
||||
nint extra1;
|
||||
nint extra2;
|
||||
nint extra3;
|
||||
nint extra4;
|
||||
nint extra5;
|
||||
|
||||
// An array where the enumerator might store stuff.
|
||||
// This isn't part of the native declaration of NSFastEnumerationState,
|
||||
// we've added it to simplify our enumeration code.
|
||||
internal const int ArrayLength = 16;
|
||||
internal IntPtr array1;
|
||||
IntPtr array2;
|
||||
IntPtr array3;
|
||||
IntPtr array4;
|
||||
IntPtr array5;
|
||||
IntPtr array6;
|
||||
IntPtr array7;
|
||||
IntPtr array8;
|
||||
IntPtr array9;
|
||||
IntPtr array10;
|
||||
IntPtr array11;
|
||||
IntPtr array12;
|
||||
IntPtr array13;
|
||||
IntPtr array14;
|
||||
IntPtr array15;
|
||||
IntPtr array16;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,14 +17,13 @@ using ObjCRuntime;
|
|||
namespace Foundation {
|
||||
internal class NSFastEnumerator {
|
||||
[DllImport (Messaging.LIBOBJC_DYLIB, EntryPoint = "objc_msgSend")]
|
||||
public extern static nuint objc_msgSend (IntPtr receiver, IntPtr selector, ref NSFastEnumerationState arg1, IntPtr [] arg2, nuint arg3);
|
||||
public unsafe extern static nuint objc_msgSend (IntPtr receiver, IntPtr selector, NSFastEnumerationState* arg1, IntPtr* arg2, nuint arg3);
|
||||
}
|
||||
|
||||
internal class NSFastEnumerator<T> : IEnumerator<T>
|
||||
where T : class, INativeObject {
|
||||
NSFastEnumerationState state;
|
||||
unsafe NSFastEnumerationState* state;
|
||||
NSObject collection;
|
||||
IntPtr [] array;
|
||||
nuint count;
|
||||
IntPtr mutationValue;
|
||||
nuint current;
|
||||
|
@ -33,30 +32,46 @@ namespace Foundation {
|
|||
public NSFastEnumerator (NSObject collection)
|
||||
{
|
||||
this.collection = collection;
|
||||
|
||||
unsafe {
|
||||
// Create one blob of native memory that holds both our NSFastEnumerationState and the array of pointers we pass to the enumerator.
|
||||
//
|
||||
// Note that we *must* pass native memory to the countByEnumeratingWithState:objects:count: method
|
||||
// (and not a field on the NSFastEnumerator instance), because:
|
||||
// * The pointers in the state (NSFastEnumerationState.mutationsPtr / NSFastEnumerationState.itemsPtr) might point back into the structure.
|
||||
// * We access those pointers using unsafe code (in a way the GC doesn't see).
|
||||
// * If the GC happens to move the NSFastEnumerator instance in memory, it won't update these pointers.
|
||||
// * The next time we read these pointers, we'll read random memory, and thus get random results.
|
||||
// * Ref: https://github.com/xamarin/maccore/issues/2606.
|
||||
// * It would probably also work to create a pinned GCHandle to the NSFastEnumerator structure (instead of allocating native memory), but that doesn't seem easier on the GC.
|
||||
state = (NSFastEnumerationState*) Marshal.AllocHGlobal (sizeof (NSFastEnumerationState));
|
||||
// Zero-initialize
|
||||
*state = default (NSFastEnumerationState);
|
||||
}
|
||||
}
|
||||
|
||||
void Fetch ()
|
||||
{
|
||||
if (array == null)
|
||||
array = new IntPtr [16];
|
||||
count = NSFastEnumerator.objc_msgSend (collection.Handle, Selector.GetHandle ("countByEnumeratingWithState:objects:count:"), ref state, array, (nuint) array.Length);
|
||||
if (!started) {
|
||||
started = true;
|
||||
mutationValue = Marshal.ReadIntPtr (state.mutationsPtr);
|
||||
unsafe {
|
||||
count = NSFastEnumerator.objc_msgSend (collection.Handle, Selector.GetHandle ("countByEnumeratingWithState:objects:count:"), state, &state->array1, (nuint) NSFastEnumerationState.ArrayLength);
|
||||
if (!started) {
|
||||
started = true;
|
||||
mutationValue = *state->mutationsPtr;
|
||||
}
|
||||
}
|
||||
current = 0;
|
||||
}
|
||||
|
||||
void VerifyNonMutated ()
|
||||
unsafe void VerifyNonMutated ()
|
||||
{
|
||||
if (mutationValue != Marshal.ReadIntPtr (state.mutationsPtr))
|
||||
if (mutationValue != *state->mutationsPtr)
|
||||
throw new InvalidOperationException ("Collection was modified");
|
||||
}
|
||||
|
||||
#region IEnumerator implementation
|
||||
bool System.Collections.IEnumerator.MoveNext ()
|
||||
{
|
||||
if (array == null || current == count - 1) {
|
||||
if (!started || current == count - 1) {
|
||||
Fetch ();
|
||||
if (count == 0)
|
||||
return false;
|
||||
|
@ -69,7 +84,9 @@ namespace Foundation {
|
|||
|
||||
void System.Collections.IEnumerator.Reset ()
|
||||
{
|
||||
state = new NSFastEnumerationState ();
|
||||
unsafe {
|
||||
*state = new NSFastEnumerationState ();
|
||||
}
|
||||
started = false;
|
||||
}
|
||||
|
||||
|
@ -84,14 +101,21 @@ namespace Foundation {
|
|||
#region IDisposable implementation
|
||||
void IDisposable.Dispose ()
|
||||
{
|
||||
// Nothing to do
|
||||
unsafe {
|
||||
Marshal.FreeHGlobal ((IntPtr) state);
|
||||
state = null;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region IEnumerator<T> implementation
|
||||
public T Current {
|
||||
public unsafe T Current {
|
||||
get {
|
||||
return Runtime.GetINativeObject<T> (Marshal.ReadIntPtr (state.itemsPtr, IntPtr.Size * (int) current), false);
|
||||
IntPtr ptr;
|
||||
unsafe {
|
||||
ptr = state->itemsPtr [(int) current];
|
||||
}
|
||||
return Runtime.GetINativeObject<T> (ptr, false);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
|
|
@ -14,6 +14,35 @@ using ObjCRuntime;
|
|||
using Foundation;
|
||||
|
||||
namespace UIKit {
|
||||
|
||||
public static class UIFontWeightExtensions {
|
||||
public static nfloat GetWeight (this UIFontWeight weight)
|
||||
{
|
||||
switch (weight) {
|
||||
case UIFontWeight.UltraLight:
|
||||
return UIFontWeightConstants.UltraLight;
|
||||
case UIFontWeight.Thin:
|
||||
return UIFontWeightConstants.Thin;
|
||||
case UIFontWeight.Light:
|
||||
return UIFontWeightConstants.Light;
|
||||
case UIFontWeight.Regular:
|
||||
return UIFontWeightConstants.Regular;
|
||||
case UIFontWeight.Medium:
|
||||
return UIFontWeightConstants.Medium;
|
||||
case UIFontWeight.Semibold:
|
||||
return UIFontWeightConstants.Semibold;
|
||||
case UIFontWeight.Bold:
|
||||
return UIFontWeightConstants.Bold;
|
||||
case UIFontWeight.Heavy:
|
||||
return UIFontWeightConstants.Heavy;
|
||||
case UIFontWeight.Black:
|
||||
return UIFontWeightConstants.Black;
|
||||
default:
|
||||
throw new ArgumentException (weight.ToString ());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public partial class UIFont {
|
||||
public override string ToString ()
|
||||
{
|
||||
|
@ -150,32 +179,6 @@ namespace UIKit {
|
|||
}
|
||||
}
|
||||
|
||||
static nfloat GetFontWeight (UIFontWeight weight)
|
||||
{
|
||||
switch (weight) {
|
||||
case UIFontWeight.UltraLight:
|
||||
return UIFontWeightConstants.UltraLight;
|
||||
case UIFontWeight.Thin:
|
||||
return UIFontWeightConstants.Thin;
|
||||
case UIFontWeight.Light:
|
||||
return UIFontWeightConstants.Light;
|
||||
case UIFontWeight.Regular:
|
||||
return UIFontWeightConstants.Regular;
|
||||
case UIFontWeight.Medium:
|
||||
return UIFontWeightConstants.Medium;
|
||||
case UIFontWeight.Semibold:
|
||||
return UIFontWeightConstants.Semibold;
|
||||
case UIFontWeight.Bold:
|
||||
return UIFontWeightConstants.Bold;
|
||||
case UIFontWeight.Heavy:
|
||||
return UIFontWeightConstants.Heavy;
|
||||
case UIFontWeight.Black:
|
||||
return UIFontWeightConstants.Black;
|
||||
default:
|
||||
throw new ArgumentException (weight.ToString ());
|
||||
}
|
||||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios16.0")]
|
||||
[SupportedOSPlatform ("maccatalyst16.0")]
|
||||
|
@ -209,7 +212,7 @@ namespace UIKit {
|
|||
#endif
|
||||
public static UIFont SystemFontOfSize (nfloat size, UIFontWeight weight)
|
||||
{
|
||||
return SystemFontOfSize (size, GetFontWeight (weight));
|
||||
return SystemFontOfSize (size, weight.GetWeight ());
|
||||
}
|
||||
|
||||
#if NET
|
||||
|
@ -234,7 +237,7 @@ namespace UIKit {
|
|||
#endif
|
||||
public static UIFont MonospacedDigitSystemFontOfSize (nfloat fontSize, UIFontWeight weight)
|
||||
{
|
||||
return MonospacedDigitSystemFontOfSize (fontSize, GetFontWeight (weight));
|
||||
return MonospacedDigitSystemFontOfSize (fontSize, weight.GetWeight ());
|
||||
}
|
||||
|
||||
#if NET
|
||||
|
@ -259,7 +262,7 @@ namespace UIKit {
|
|||
[iOS (13, 0)]
|
||||
[TV (13, 0)]
|
||||
#endif
|
||||
public static UIFont GetMonospacedSystemFont (nfloat size, UIFontWeight weight) => GetMonospacedSystemFont (size, GetFontWeight (weight));
|
||||
public static UIFont GetMonospacedSystemFont (nfloat size, UIFontWeight weight) => GetMonospacedSystemFont (size, weight.GetWeight ());
|
||||
|
||||
// In this case we want to _always_ return a different managed instance
|
||||
// so one can be disposed without affecting others
|
||||
|
@ -351,7 +354,7 @@ namespace UIKit {
|
|||
#endif
|
||||
public static UIFont SystemFontOfSize (nfloat fontSize, UIFontWeight weight, UIFontWidth width)
|
||||
{
|
||||
var ptr = _SystemFontOfSize (fontSize, GetFontWeight (weight), GetFontWidth (width));
|
||||
var ptr = _SystemFontOfSize (fontSize, weight.GetWeight (), GetFontWidth (width));
|
||||
return ptr == IntPtr.Zero ? null : new UIFont (ptr);
|
||||
}
|
||||
|
||||
|
|
|
@ -9,36 +9,33 @@ using NativeHandle = System.IntPtr;
|
|||
|
||||
namespace Accessibility {
|
||||
|
||||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
|
||||
[BaseType (typeof(NSObject))]
|
||||
[Watch (8, 0), TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface AXCategoricalDataAxisDescriptor : AXDataAxisDescriptor
|
||||
{
|
||||
interface AXCategoricalDataAxisDescriptor : AXDataAxisDescriptor {
|
||||
[Export ("categoryOrder", ArgumentSemantic.Copy)]
|
||||
string[] CategoryOrder { get; set; }
|
||||
string [] CategoryOrder { get; set; }
|
||||
|
||||
[Export ("initWithTitle:categoryOrder:")]
|
||||
[DesignatedInitializer]
|
||||
NativeHandle Constructor (string title, string[] categoryOrder);
|
||||
NativeHandle Constructor (string title, string [] categoryOrder);
|
||||
|
||||
[Export ("initWithAttributedTitle:categoryOrder:")]
|
||||
[DesignatedInitializer]
|
||||
NativeHandle Constructor (NSAttributedString attributedTitle, string[] categoryOrder);
|
||||
NativeHandle Constructor (NSAttributedString attributedTitle, string [] categoryOrder);
|
||||
}
|
||||
|
||||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
|
||||
[Watch (8, 0), TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)]
|
||||
[Protocol]
|
||||
interface AXChart
|
||||
{
|
||||
interface AXChart {
|
||||
[Abstract]
|
||||
[NullAllowed, Export ("accessibilityChartDescriptor", ArgumentSemantic.Strong)]
|
||||
AXChartDescriptor AccessibilityChartDescriptor { get; set; }
|
||||
}
|
||||
|
||||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
|
||||
[Watch (8, 0), TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)]
|
||||
[Native]
|
||||
public enum AXChartDescriptorContentDirection : long
|
||||
{
|
||||
public enum AXChartDescriptorContentDirection : long {
|
||||
LeftToRight = 0,
|
||||
RightToLeft,
|
||||
TopToBottom,
|
||||
|
@ -47,11 +44,10 @@ namespace Accessibility {
|
|||
RadialCounterClockwise,
|
||||
}
|
||||
|
||||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
|
||||
[BaseType (typeof(NSObject))]
|
||||
[Watch (8, 0), TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface AXChartDescriptor : NSCopying
|
||||
{
|
||||
interface AXChartDescriptor : NSCopying {
|
||||
[NullAllowed, Export ("title")]
|
||||
string Title { get; set; }
|
||||
|
||||
|
@ -68,7 +64,7 @@ namespace Accessibility {
|
|||
CGRect ContentFrame { get; set; }
|
||||
|
||||
[Export ("series", ArgumentSemantic.Copy)]
|
||||
AXDataSeriesDescriptor[] Series { get; set; }
|
||||
AXDataSeriesDescriptor [] Series { get; set; }
|
||||
|
||||
[Export ("xAxis", ArgumentSemantic.Strong)]
|
||||
IAXDataAxisDescriptor XAxis { get; set; }
|
||||
|
@ -77,38 +73,36 @@ namespace Accessibility {
|
|||
AXNumericDataAxisDescriptor YAxis { get; set; }
|
||||
|
||||
[NullAllowed, Export ("additionalAxes", ArgumentSemantic.Copy)]
|
||||
IAXDataAxisDescriptor[] AdditionalAxes { get; set; }
|
||||
IAXDataAxisDescriptor [] AdditionalAxes { get; set; }
|
||||
|
||||
[Export ("initWithTitle:summary:xAxisDescriptor:yAxisDescriptor:series:")]
|
||||
NativeHandle Constructor ([NullAllowed] string title, [NullAllowed] string summary, IAXDataAxisDescriptor xAxis, [NullAllowed] AXNumericDataAxisDescriptor yAxis, AXDataSeriesDescriptor[] series);
|
||||
NativeHandle Constructor ([NullAllowed] string title, [NullAllowed] string summary, IAXDataAxisDescriptor xAxis, [NullAllowed] AXNumericDataAxisDescriptor yAxis, AXDataSeriesDescriptor [] series);
|
||||
|
||||
[Export ("initWithAttributedTitle:summary:xAxisDescriptor:yAxisDescriptor:series:")]
|
||||
NativeHandle Constructor ([NullAllowed] NSAttributedString attributedTitle, [NullAllowed] string summary, IAXDataAxisDescriptor xAxis, AXNumericDataAxisDescriptor yAxis, AXDataSeriesDescriptor[] series);
|
||||
NativeHandle Constructor ([NullAllowed] NSAttributedString attributedTitle, [NullAllowed] string summary, IAXDataAxisDescriptor xAxis, AXNumericDataAxisDescriptor yAxis, AXDataSeriesDescriptor [] series);
|
||||
|
||||
[Export ("initWithTitle:summary:xAxisDescriptor:yAxisDescriptor:additionalAxes:series:")]
|
||||
[DesignatedInitializer]
|
||||
NativeHandle Constructor ([NullAllowed] string title, [NullAllowed] string summary, IAXDataAxisDescriptor xAxis, [NullAllowed] AXNumericDataAxisDescriptor yAxis, [NullAllowed] IAXDataAxisDescriptor[] additionalAxes, AXDataSeriesDescriptor[] series);
|
||||
NativeHandle Constructor ([NullAllowed] string title, [NullAllowed] string summary, IAXDataAxisDescriptor xAxis, [NullAllowed] AXNumericDataAxisDescriptor yAxis, [NullAllowed] IAXDataAxisDescriptor [] additionalAxes, AXDataSeriesDescriptor [] series);
|
||||
|
||||
[Export ("initWithAttributedTitle:summary:xAxisDescriptor:yAxisDescriptor:additionalAxes:series:")]
|
||||
[DesignatedInitializer]
|
||||
NativeHandle Constructor ([NullAllowed] NSAttributedString attributedTitle, [NullAllowed] string summary, IAXDataAxisDescriptor xAxis, [NullAllowed] AXNumericDataAxisDescriptor yAxis, [NullAllowed] IAXDataAxisDescriptor[] additionalAxes, AXDataSeriesDescriptor[] series);
|
||||
NativeHandle Constructor ([NullAllowed] NSAttributedString attributedTitle, [NullAllowed] string summary, IAXDataAxisDescriptor xAxis, [NullAllowed] AXNumericDataAxisDescriptor yAxis, [NullAllowed] IAXDataAxisDescriptor [] additionalAxes, AXDataSeriesDescriptor [] series);
|
||||
}
|
||||
|
||||
[Watch (7, 0), TV (14, 0), Mac (11, 0), iOS (14, 0)]
|
||||
[MacCatalyst (14,0)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Native]
|
||||
public enum AXCustomContentImportance : ulong
|
||||
{
|
||||
public enum AXCustomContentImportance : ulong {
|
||||
Default,
|
||||
High,
|
||||
}
|
||||
|
||||
[Watch (7, 0), TV (14, 0), Mac (11, 0), iOS (14, 0)]
|
||||
[MacCatalyst (14,0)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface AXCustomContent : NSCopying, NSSecureCoding
|
||||
{
|
||||
interface AXCustomContent : NSCopying, NSSecureCoding {
|
||||
[Static]
|
||||
[Export ("customContentWithLabel:value:")]
|
||||
AXCustomContent Create (string label, string value);
|
||||
|
@ -134,21 +128,19 @@ namespace Accessibility {
|
|||
}
|
||||
|
||||
[Watch (7, 0), TV (14, 0), Mac (11, 0), iOS (14, 0)]
|
||||
[MacCatalyst (14,0)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Protocol]
|
||||
interface AXCustomContentProvider
|
||||
{
|
||||
interface AXCustomContentProvider {
|
||||
[Abstract]
|
||||
[NullAllowed, Export ("accessibilityCustomContent", ArgumentSemantic.Copy)]
|
||||
AXCustomContent[] AccessibilityCustomContent { get; set; }
|
||||
AXCustomContent [] AccessibilityCustomContent { get; set; }
|
||||
}
|
||||
|
||||
interface IAXDataAxisDescriptor {}
|
||||
interface IAXDataAxisDescriptor { }
|
||||
|
||||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
|
||||
[Watch (8, 0), TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)]
|
||||
[Protocol]
|
||||
interface AXDataAxisDescriptor : NSCopying
|
||||
{
|
||||
interface AXDataAxisDescriptor : NSCopying {
|
||||
[Abstract]
|
||||
[Export ("title")]
|
||||
string Title { get; set; }
|
||||
|
@ -158,11 +150,10 @@ namespace Accessibility {
|
|||
NSAttributedString AttributedTitle { get; set; }
|
||||
}
|
||||
|
||||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
|
||||
[BaseType (typeof(NSObject))]
|
||||
[Watch (8, 0), TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface AXDataPoint : NSCopying
|
||||
{
|
||||
interface AXDataPoint : NSCopying {
|
||||
[Export ("xValue", ArgumentSemantic.Copy)]
|
||||
AXDataPointValue XValue { get; set; }
|
||||
|
||||
|
@ -170,7 +161,7 @@ namespace Accessibility {
|
|||
AXDataPointValue YValue { get; set; }
|
||||
|
||||
[Export ("additionalValues", ArgumentSemantic.Copy)]
|
||||
AXDataPointValue[] AdditionalValues { get; set; }
|
||||
AXDataPointValue [] AdditionalValues { get; set; }
|
||||
|
||||
[NullAllowed, Export ("label")]
|
||||
string Label { get; set; }
|
||||
|
@ -182,18 +173,17 @@ namespace Accessibility {
|
|||
NativeHandle Constructor (AXDataPointValue xValue, [NullAllowed] AXDataPointValue yValue);
|
||||
|
||||
[Export ("initWithX:y:additionalValues:")]
|
||||
NativeHandle Constructor (AXDataPointValue xValue, [NullAllowed] AXDataPointValue yValue, [NullAllowed] AXDataPointValue[] additionalValues);
|
||||
NativeHandle Constructor (AXDataPointValue xValue, [NullAllowed] AXDataPointValue yValue, [NullAllowed] AXDataPointValue [] additionalValues);
|
||||
|
||||
[Export ("initWithX:y:additionalValues:label:")]
|
||||
[DesignatedInitializer]
|
||||
NativeHandle Constructor (AXDataPointValue xValue, [NullAllowed] AXDataPointValue yValue, [NullAllowed] AXDataPointValue[] additionalValues, [NullAllowed] string label);
|
||||
NativeHandle Constructor (AXDataPointValue xValue, [NullAllowed] AXDataPointValue yValue, [NullAllowed] AXDataPointValue [] additionalValues, [NullAllowed] string label);
|
||||
}
|
||||
|
||||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
|
||||
[BaseType (typeof(NSObject))]
|
||||
[Watch (8, 0), TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface AXDataPointValue : NSCopying
|
||||
{
|
||||
interface AXDataPointValue : NSCopying {
|
||||
[Export ("number", ArgumentSemantic.Assign)]
|
||||
double Number { get; set; }
|
||||
|
||||
|
@ -209,11 +199,10 @@ namespace Accessibility {
|
|||
AXDataPointValue CreateValueWithCategory (string category);
|
||||
}
|
||||
|
||||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
|
||||
[BaseType (typeof(NSObject))]
|
||||
[Watch (8, 0), TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface AXDataSeriesDescriptor : NSCopying
|
||||
{
|
||||
interface AXDataSeriesDescriptor : NSCopying {
|
||||
[NullAllowed, Export ("name")]
|
||||
string Name { get; set; }
|
||||
|
||||
|
@ -224,33 +213,31 @@ namespace Accessibility {
|
|||
bool IsContinuous { get; set; }
|
||||
|
||||
[Export ("dataPoints", ArgumentSemantic.Copy)]
|
||||
AXDataPoint[] DataPoints { get; set; }
|
||||
AXDataPoint [] DataPoints { get; set; }
|
||||
|
||||
[Export ("initWithName:isContinuous:dataPoints:")]
|
||||
[DesignatedInitializer]
|
||||
NativeHandle Constructor (string name, bool isContinuous, AXDataPoint[] dataPoints);
|
||||
NativeHandle Constructor (string name, bool isContinuous, AXDataPoint [] dataPoints);
|
||||
|
||||
[Export ("initWithAttributedName:isContinuous:dataPoints:")]
|
||||
[DesignatedInitializer]
|
||||
NativeHandle Constructor (NSAttributedString attributedName, bool isContinuous, AXDataPoint[] dataPoints);
|
||||
NativeHandle Constructor (NSAttributedString attributedName, bool isContinuous, AXDataPoint [] dataPoints);
|
||||
}
|
||||
|
||||
[Watch (8,0), NoTV, NoMac, iOS (15,0), MacCatalyst (15,0)]
|
||||
[Watch (8, 0), NoTV, NoMac, iOS (15, 0), MacCatalyst (15, 0)]
|
||||
[Flags]
|
||||
[Native]
|
||||
public enum AXHearingDeviceEar : ulong
|
||||
{
|
||||
public enum AXHearingDeviceEar : ulong {
|
||||
None = 0,
|
||||
Left = 1 << 1,
|
||||
Right = 1 << 2,
|
||||
Both = Left | Right,
|
||||
}
|
||||
|
||||
[Watch (8,0), NoTV, NoMac, iOS (15,0), MacCatalyst (15,0)]
|
||||
[Watch (8, 0), NoTV, NoMac, iOS (15, 0), MacCatalyst (15, 0)]
|
||||
[Static]
|
||||
[Partial]
|
||||
partial interface AXHearingUtilities
|
||||
{
|
||||
partial interface AXHearingUtilities {
|
||||
[Field ("AXMFiHearingDeviceStreamingEarDidChangeNotification")]
|
||||
[Notification]
|
||||
NSString StreamingEarDidChangeNotification { get; }
|
||||
|
@ -260,11 +247,10 @@ namespace Accessibility {
|
|||
NSString PairedUUIDsDidChangeNotification { get; }
|
||||
}
|
||||
|
||||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
|
||||
[BaseType (typeof(NSObject))]
|
||||
[Watch (8, 0), TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface AXLiveAudioGraph
|
||||
{
|
||||
interface AXLiveAudioGraph {
|
||||
[Static]
|
||||
[Export ("start")]
|
||||
void Start ();
|
||||
|
@ -278,10 +264,9 @@ namespace Accessibility {
|
|||
void Stop ();
|
||||
}
|
||||
|
||||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
|
||||
[Watch (8, 0), TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)]
|
||||
[Native]
|
||||
public enum AXNumericDataAxisDescriptorScale : long
|
||||
{
|
||||
public enum AXNumericDataAxisDescriptorScale : long {
|
||||
Linear = 0,
|
||||
Log10,
|
||||
Ln,
|
||||
|
@ -289,11 +274,10 @@ namespace Accessibility {
|
|||
|
||||
delegate NSString ValueDescriptionProviderHandler (double dataValue);
|
||||
|
||||
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
|
||||
[BaseType (typeof(NSObject))]
|
||||
[Watch (8, 0), TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface AXNumericDataAxisDescriptor : AXDataAxisDescriptor
|
||||
{
|
||||
interface AXNumericDataAxisDescriptor : AXDataAxisDescriptor {
|
||||
[Export ("scaleType", ArgumentSemantic.Assign)]
|
||||
AXNumericDataAxisDescriptorScale ScaleType { get; set; }
|
||||
|
||||
|
@ -307,18 +291,18 @@ namespace Accessibility {
|
|||
ValueDescriptionProviderHandler ValueDescriptionProvider { get; set; }
|
||||
|
||||
[Export ("gridlinePositions", ArgumentSemantic.Copy)]
|
||||
NSNumber[] GridlinePositions { get; set; }
|
||||
NSNumber [] GridlinePositions { get; set; }
|
||||
|
||||
[Export ("initWithTitle:lowerBound:upperBound:gridlinePositions:valueDescriptionProvider:")]
|
||||
[DesignatedInitializer]
|
||||
NativeHandle Constructor (string title, double lowerBound, double upperBound, [NullAllowed] NSNumber[] gridlinePositions, Func<double, NSString> valueDescriptionProvider);
|
||||
NativeHandle Constructor (string title, double lowerBound, double upperBound, [NullAllowed] NSNumber [] gridlinePositions, Func<double, NSString> valueDescriptionProvider);
|
||||
|
||||
[Export ("initWithAttributedTitle:lowerBound:upperBound:gridlinePositions:valueDescriptionProvider:")]
|
||||
[DesignatedInitializer]
|
||||
NativeHandle Constructor (NSAttributedString attributedTitle, double lowerBound, double upperBound, [NullAllowed] NSNumber[] gridlinePositions, Func<double, NSString> valueDescriptionProvider);
|
||||
NativeHandle Constructor (NSAttributedString attributedTitle, double lowerBound, double upperBound, [NullAllowed] NSNumber [] gridlinePositions, Func<double, NSString> valueDescriptionProvider);
|
||||
}
|
||||
|
||||
[Watch (8,3), TV (15,2), Mac (12,1), iOS (15,2), MacCatalyst (15,2)]
|
||||
[Watch (8, 3), TV (15, 2), Mac (12, 1), iOS (15, 2), MacCatalyst (15, 2)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface AXBrailleMap : NSCopying, NSSecureCoding {
|
||||
|
@ -336,7 +320,7 @@ namespace Accessibility {
|
|||
void Present (CGImage image);
|
||||
}
|
||||
|
||||
[Watch (8,3), TV (15,2), Mac (12,1), iOS (15,2), MacCatalyst (15,2)]
|
||||
[Watch (8, 3), TV (15, 2), Mac (12, 1), iOS (15, 2), MacCatalyst (15, 2)]
|
||||
[Protocol]
|
||||
interface AXBrailleMapRenderer {
|
||||
|
||||
|
|
|
@ -11,29 +11,29 @@ using NativeHandle = System.IntPtr;
|
|||
#endif
|
||||
|
||||
namespace Accounts {
|
||||
|
||||
|
||||
[Deprecated (PlatformName.iOS, 15, 0, message: "Use the non-Apple SDK relating to your account type instead.")]
|
||||
[Deprecated (PlatformName.MacOSX, 12, 0, message: "Use the non-Apple SDK relating to your account type instead.")]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface ACAccount : NSSecureCoding {
|
||||
[Export ("identifier", ArgumentSemantic.Weak)]
|
||||
string Identifier { get; }
|
||||
string Identifier { get; }
|
||||
|
||||
[NullAllowed] // by default this property is null
|
||||
[Export ("accountType", ArgumentSemantic.Retain)]
|
||||
ACAccountType AccountType { get; set; }
|
||||
ACAccountType AccountType { get; set; }
|
||||
|
||||
[NullAllowed] // by default this property is null
|
||||
[Export ("accountDescription", ArgumentSemantic.Copy)]
|
||||
string AccountDescription { get; set; }
|
||||
string AccountDescription { get; set; }
|
||||
|
||||
[NullAllowed] // by default this property is null
|
||||
[Export ("username", ArgumentSemantic.Copy)]
|
||||
string Username { get; set; }
|
||||
string Username { get; set; }
|
||||
|
||||
[NullAllowed] // by default this property is null
|
||||
[Export ("credential", ArgumentSemantic.Retain)]
|
||||
ACAccountCredential Credential { get; set; }
|
||||
ACAccountCredential Credential { get; set; }
|
||||
|
||||
[DesignatedInitializer]
|
||||
[Export ("initWithAccountType:")]
|
||||
|
@ -45,7 +45,8 @@ namespace Accounts {
|
|||
NSString ErrorDomain { get; }
|
||||
#endif
|
||||
|
||||
[iOS (7,0)][NoMac]
|
||||
[iOS (7, 0)]
|
||||
[NoMac]
|
||||
[Export ("userFullName")]
|
||||
string UserFullName { get; }
|
||||
}
|
||||
|
@ -62,19 +63,19 @@ namespace Accounts {
|
|||
|
||||
[NullAllowed] // by default this property is null
|
||||
[Export ("oauthToken", ArgumentSemantic.Copy)]
|
||||
string OAuthToken { get; set; }
|
||||
string OAuthToken { get; set; }
|
||||
}
|
||||
|
||||
delegate void ACAccountStoreSaveCompletionHandler (bool success, NSError error);
|
||||
delegate void ACAccountStoreRemoveCompletionHandler (bool success, NSError error);
|
||||
delegate void ACRequestCompletionHandler (bool granted, NSError error);
|
||||
|
||||
|
||||
[Deprecated (PlatformName.iOS, 15, 0, message: "Use the non-Apple SDK relating to your account type instead.")]
|
||||
[Deprecated (PlatformName.MacOSX, 12, 0, message: "Use the non-Apple SDK relating to your account type instead.")]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface ACAccountStore {
|
||||
[Export ("accounts", ArgumentSemantic.Weak)]
|
||||
ACAccount [] Accounts { get; }
|
||||
ACAccount [] Accounts { get; }
|
||||
|
||||
[Export ("accountWithIdentifier:")]
|
||||
ACAccount FindAccount (string identifier);
|
||||
|
@ -102,10 +103,10 @@ namespace Accounts {
|
|||
[Field ("ACAccountStoreDidChangeNotification")]
|
||||
[Notification]
|
||||
NSString ChangeNotification { get; }
|
||||
|
||||
|
||||
[Export ("renewCredentialsForAccount:completion:")]
|
||||
[Async]
|
||||
void RenewCredentials (ACAccount account, Action<ACAccountCredentialRenewResult,NSError> completionHandler);
|
||||
void RenewCredentials (ACAccount account, Action<ACAccountCredentialRenewResult, NSError> completionHandler);
|
||||
|
||||
[Protected]
|
||||
[Export ("requestAccessToAccountsWithType:options:completion:")]
|
||||
|
@ -126,13 +127,13 @@ namespace Accounts {
|
|||
[BaseType (typeof (NSObject))]
|
||||
interface ACAccountType : NSSecureCoding {
|
||||
[Export ("accountTypeDescription")]
|
||||
string Description { get; }
|
||||
string Description { get; }
|
||||
|
||||
[Export ("identifier")]
|
||||
string Identifier { get; }
|
||||
string Identifier { get; }
|
||||
|
||||
[Export ("accessGranted")]
|
||||
bool AccessGranted { get; }
|
||||
bool AccessGranted { get; }
|
||||
|
||||
[Deprecated (PlatformName.iOS, 11, 0, message: "Use Twitter SDK instead.")]
|
||||
[Deprecated (PlatformName.MacOSX, 10, 13, message: "Use Twitter SDK instead.")]
|
||||
|
@ -151,14 +152,16 @@ namespace Accounts {
|
|||
|
||||
[Deprecated (PlatformName.iOS, 11, 0, message: "Use Tencent Weibo SDK instead.")]
|
||||
[Deprecated (PlatformName.MacOSX, 10, 13, message: "Use Tencent Weibo SDK instead.")]
|
||||
[iOS (7,0)]
|
||||
[Mac (10,9)]
|
||||
[iOS (7, 0)]
|
||||
[Mac (10, 9)]
|
||||
[Field ("ACAccountTypeIdentifierTencentWeibo")]
|
||||
NSString TencentWeibo { get; }
|
||||
|
||||
[NoiOS][NoTV][NoWatch]
|
||||
[NoiOS]
|
||||
[NoTV]
|
||||
[NoWatch]
|
||||
[Deprecated (PlatformName.MacOSX, 10, 13, message: "Use LinkedIn SDK instead.")]
|
||||
[Mac (10,9)]
|
||||
[Mac (10, 9)]
|
||||
[Field ("ACAccountTypeIdentifierLinkedIn")]
|
||||
NSString LinkedIn { get; }
|
||||
}
|
||||
|
@ -169,7 +172,7 @@ namespace Accounts {
|
|||
interface ACFacebookKey {
|
||||
[Field ("ACFacebookAppIdKey")]
|
||||
NSString AppId { get; }
|
||||
|
||||
|
||||
[Field ("ACFacebookPermissionsKey")]
|
||||
NSString Permissions { get; }
|
||||
|
||||
|
@ -181,8 +184,7 @@ namespace Accounts {
|
|||
[Deprecated (PlatformName.iOS, 11, 0, message: "Use Facebook SDK instead.")]
|
||||
[Deprecated (PlatformName.MacOSX, 10, 13, message: "Use Facebook SDK instead.")]
|
||||
[Static]
|
||||
interface ACFacebookAudienceValue
|
||||
{
|
||||
interface ACFacebookAudienceValue {
|
||||
[Field ("ACFacebookAudienceEveryone")]
|
||||
NSString Everyone { get; }
|
||||
|
||||
|
@ -195,17 +197,19 @@ namespace Accounts {
|
|||
|
||||
[Deprecated (PlatformName.iOS, 11, 0, message: "Use Tencent Weibo SDK instead.")]
|
||||
[Deprecated (PlatformName.MacOSX, 10, 13, message: "Use Tencent Weibo SDK instead.")]
|
||||
[iOS (7,0)]
|
||||
[Mac (10,9)]
|
||||
[iOS (7, 0)]
|
||||
[Mac (10, 9)]
|
||||
[Static]
|
||||
interface ACTencentWeiboKey {
|
||||
[Field ("ACTencentWeiboAppIdKey")]
|
||||
NSString AppId { get; }
|
||||
}
|
||||
|
||||
[NoiOS][NoTV][NoWatch]
|
||||
[NoiOS]
|
||||
[NoTV]
|
||||
[NoWatch]
|
||||
[Deprecated (PlatformName.MacOSX, 10, 13, message: "Use LinkedIn SDK instead.")]
|
||||
[Mac (10,9)]
|
||||
[Mac (10, 9)]
|
||||
[Static]
|
||||
interface ACLinkedInKey {
|
||||
[Field ("ACLinkedInAppIdKey")]
|
||||
|
|
|
@ -36,7 +36,7 @@ namespace AddressBookUI {
|
|||
IntPtr _AddressBook { get; set; }
|
||||
|
||||
[Export ("parentGroup"), Internal]
|
||||
IntPtr _ParentGroup {get; set;}
|
||||
IntPtr _ParentGroup { get; set; }
|
||||
|
||||
[Wrap ("WeakDelegate")]
|
||||
[Protocolize]
|
||||
|
@ -54,7 +54,7 @@ namespace AddressBookUI {
|
|||
|
||||
[Export ("newPersonViewController:didCompleteWithNewPerson:")]
|
||||
[Abstract]
|
||||
void DidCompleteWithNewPerson (ABNewPersonViewController controller, [NullAllowed]ABPerson person);
|
||||
void DidCompleteWithNewPerson (ABNewPersonViewController controller, [NullAllowed] ABPerson person);
|
||||
}
|
||||
|
||||
[Deprecated (PlatformName.iOS, 9, 0, message: "Use the 'Contacts' API instead.")]
|
||||
|
@ -70,30 +70,30 @@ namespace AddressBookUI {
|
|||
|
||||
[NullAllowed]
|
||||
[Export ("displayedProperties", ArgumentSemantic.Copy), Internal]
|
||||
NSNumber[] _DisplayedProperties {get; set;}
|
||||
NSNumber [] _DisplayedProperties { get; set; }
|
||||
|
||||
[Export ("addressBook"), Internal]
|
||||
IntPtr _AddressBook {get; set;}
|
||||
IntPtr _AddressBook { get; set; }
|
||||
|
||||
[Wrap ("WeakDelegate")]
|
||||
[Protocolize]
|
||||
ABPeoplePickerNavigationControllerDelegate Delegate {get; set;}
|
||||
ABPeoplePickerNavigationControllerDelegate Delegate { get; set; }
|
||||
|
||||
[NullAllowed] // by default this property is null
|
||||
[Export ("peoplePickerDelegate", ArgumentSemantic.Assign)]
|
||||
NSObject WeakDelegate {get; set;}
|
||||
NSObject WeakDelegate { get; set; }
|
||||
|
||||
[iOS (8,0)]
|
||||
[iOS (8, 0)]
|
||||
[Export ("predicateForEnablingPerson", ArgumentSemantic.Copy)]
|
||||
[NullAllowed]
|
||||
NSPredicate PredicateForEnablingPerson { get; set; }
|
||||
|
||||
[iOS (8,0)]
|
||||
[iOS (8, 0)]
|
||||
[Export ("predicateForSelectionOfPerson", ArgumentSemantic.Copy)]
|
||||
[NullAllowed]
|
||||
NSPredicate PredicateForSelectionOfPerson { get; set; }
|
||||
|
||||
[iOS (8,0)]
|
||||
[iOS (8, 0)]
|
||||
[Export ("predicateForSelectionOfProperty", ArgumentSemantic.Copy)]
|
||||
[NullAllowed]
|
||||
NSPredicate PredicateForSelectionOfProperty { get; set; }
|
||||
|
@ -124,7 +124,7 @@ namespace AddressBookUI {
|
|||
|
||||
[Export ("peoplePickerNavigationController:didSelectPerson:property:identifier:")]
|
||||
void DidSelectPerson (ABPeoplePickerNavigationController peoplePicker, ABPerson selectedPerson, int /* ABPropertyId = int32 */ propertyId, int /* ABMultiValueIdentifier = int32 */ identifier);
|
||||
}
|
||||
}
|
||||
|
||||
[Deprecated (PlatformName.iOS, 9, 0, message: "Use the 'Contacts' API instead.")]
|
||||
[BaseType (typeof (UIViewController))]
|
||||
|
@ -134,31 +134,31 @@ namespace AddressBookUI {
|
|||
NativeHandle Constructor ([NullAllowed] string nibName, [NullAllowed] NSBundle bundle);
|
||||
|
||||
[Export ("displayedPerson"), Internal]
|
||||
IntPtr _DisplayedPerson {get; set;}
|
||||
IntPtr _DisplayedPerson { get; set; }
|
||||
|
||||
[NullAllowed]
|
||||
[Export ("displayedProperties", ArgumentSemantic.Copy), Internal]
|
||||
NSNumber[] _DisplayedProperties { get; set; }
|
||||
NSNumber [] _DisplayedProperties { get; set; }
|
||||
|
||||
[Export ("addressBook"), Internal]
|
||||
IntPtr _AddressBook {get; set;}
|
||||
IntPtr _AddressBook { get; set; }
|
||||
|
||||
[Export ("allowsActions")]
|
||||
bool AllowsActions { get; set;}
|
||||
bool AllowsActions { get; set; }
|
||||
|
||||
[Export ("allowsEditing")]
|
||||
bool AllowsEditing {get; set;}
|
||||
bool AllowsEditing { get; set; }
|
||||
|
||||
[Export ("shouldShowLinkedPeople")]
|
||||
bool ShouldShowLinkedPeople { get; set; }
|
||||
|
||||
[Wrap ("WeakDelegate")]
|
||||
[Protocolize]
|
||||
ABPersonViewControllerDelegate Delegate {get; set;}
|
||||
ABPersonViewControllerDelegate Delegate { get; set; }
|
||||
|
||||
[NullAllowed] // by default this property is null
|
||||
[Export ("personViewDelegate", ArgumentSemantic.Assign)]
|
||||
NSObject WeakDelegate {get; set;}
|
||||
NSObject WeakDelegate { get; set; }
|
||||
|
||||
// Obsolete for public use; we should "remove" this member by making
|
||||
// it [Internal] in some future release, as it's needed internally.
|
||||
|
@ -168,74 +168,74 @@ namespace AddressBookUI {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.iOS, 9, 0, message: "Use the 'Contacts' API instead.")]
|
||||
[Static, iOS (8,0)]
|
||||
[Static, iOS (8, 0)]
|
||||
interface ABPersonPredicateKey {
|
||||
[Field ("ABPersonBirthdayProperty")]
|
||||
NSString Birthday { get; }
|
||||
|
||||
|
||||
[Field ("ABPersonDatesProperty")]
|
||||
NSString Dates { get; }
|
||||
|
||||
|
||||
[Field ("ABPersonDepartmentNameProperty")]
|
||||
NSString DepartmentName { get; }
|
||||
|
||||
|
||||
[Field ("ABPersonEmailAddressesProperty")]
|
||||
NSString EmailAddresses { get; }
|
||||
|
||||
|
||||
[Field ("ABPersonFamilyNameProperty")]
|
||||
NSString FamilyName { get; }
|
||||
|
||||
|
||||
[Field ("ABPersonGivenNameProperty")]
|
||||
NSString GivenName { get; }
|
||||
|
||||
|
||||
[Field ("ABPersonInstantMessageAddressesProperty")]
|
||||
NSString InstantMessageAddresses { get; }
|
||||
|
||||
|
||||
[Field ("ABPersonJobTitleProperty")]
|
||||
NSString JobTitle { get; }
|
||||
|
||||
|
||||
[Field ("ABPersonMiddleNameProperty")]
|
||||
NSString MiddleName { get; }
|
||||
|
||||
|
||||
[Field ("ABPersonNamePrefixProperty")]
|
||||
NSString NamePrefix { get; }
|
||||
|
||||
|
||||
[Field ("ABPersonNameSuffixProperty")]
|
||||
NSString NameSuffix { get; }
|
||||
|
||||
|
||||
[Field ("ABPersonNicknameProperty")]
|
||||
NSString Nickname { get; }
|
||||
|
||||
|
||||
[Field ("ABPersonNoteProperty")]
|
||||
NSString Note { get; }
|
||||
|
||||
|
||||
[Field ("ABPersonOrganizationNameProperty")]
|
||||
NSString OrganizationName { get; }
|
||||
|
||||
|
||||
[Field ("ABPersonPhoneNumbersProperty")]
|
||||
NSString PhoneNumbers { get; }
|
||||
|
||||
|
||||
[Field ("ABPersonPhoneticFamilyNameProperty")]
|
||||
NSString PhoneticFamilyName { get; }
|
||||
|
||||
|
||||
[Field ("ABPersonPhoneticGivenNameProperty")]
|
||||
NSString PhoneticGivenName { get; }
|
||||
|
||||
|
||||
[Field ("ABPersonPhoneticMiddleNameProperty")]
|
||||
NSString PhoneticMiddleName { get; }
|
||||
|
||||
|
||||
[Field ("ABPersonPostalAddressesProperty")]
|
||||
NSString PostalAddresses { get; }
|
||||
|
||||
|
||||
[Field ("ABPersonPreviousFamilyNameProperty")]
|
||||
NSString PreviousFamilyName { get; }
|
||||
|
||||
|
||||
[Field ("ABPersonRelatedNamesProperty")]
|
||||
NSString RelatedNames { get; }
|
||||
|
||||
|
||||
[Field ("ABPersonSocialProfilesProperty")]
|
||||
NSString SocialProfiles { get; }
|
||||
|
||||
|
||||
[Field ("ABPersonUrlAddressesProperty")]
|
||||
NSString UrlAddresses { get; }
|
||||
}
|
||||
|
@ -260,31 +260,31 @@ namespace AddressBookUI {
|
|||
|
||||
[NullAllowed] // by default this property is null
|
||||
[Export ("alternateName", ArgumentSemantic.Copy)]
|
||||
string AlternateName {get; set;}
|
||||
string AlternateName { get; set; }
|
||||
|
||||
[NullAllowed] // by default this property is null
|
||||
[Export ("message", ArgumentSemantic.Copy)]
|
||||
string Message {get; set;}
|
||||
string Message { get; set; }
|
||||
|
||||
[Export ("displayedPerson"), Internal]
|
||||
IntPtr _DisplayedPerson {get; set;}
|
||||
IntPtr _DisplayedPerson { get; set; }
|
||||
|
||||
[Export ("addressBook"), Internal]
|
||||
IntPtr _AddressBook {get; set;}
|
||||
IntPtr _AddressBook { get; set; }
|
||||
|
||||
[Export ("allowsActions")]
|
||||
bool AllowsActions {get; set;}
|
||||
bool AllowsActions { get; set; }
|
||||
|
||||
[Export ("allowsAddingToAddressBook")]
|
||||
bool AllowsAddingToAddressBook {get; set;}
|
||||
bool AllowsAddingToAddressBook { get; set; }
|
||||
|
||||
[Wrap ("WeakDelegate")]
|
||||
[Protocolize]
|
||||
ABUnknownPersonViewControllerDelegate Delegate {get; set;}
|
||||
ABUnknownPersonViewControllerDelegate Delegate { get; set; }
|
||||
|
||||
[NullAllowed] // by default this property is null
|
||||
[Export ("unknownPersonViewDelegate", ArgumentSemantic.Assign)]
|
||||
NSObject WeakDelegate {get; set;}
|
||||
NSObject WeakDelegate { get; set; }
|
||||
}
|
||||
|
||||
[Deprecated (PlatformName.iOS, 9, 0, message: "Use the 'Contacts' API instead.")]
|
||||
|
|
|
@ -4,9 +4,10 @@ using System;
|
|||
|
||||
namespace AdServices {
|
||||
|
||||
[Mac (11,1), iOS (14,3)]
|
||||
[MacCatalyst (14,3)]
|
||||
[NoTV][NoWatch]
|
||||
[Mac (11, 1), iOS (14, 3)]
|
||||
[MacCatalyst (14, 3)]
|
||||
[NoTV]
|
||||
[NoWatch]
|
||||
[Native]
|
||||
[ErrorDomain ("AAAttributionErrorDomain")]
|
||||
enum AAAttributionErrorCode : long {
|
||||
|
@ -15,9 +16,10 @@ namespace AdServices {
|
|||
PlatformNotSupported = 3,
|
||||
}
|
||||
|
||||
[Mac (11,1), iOS (14,3)]
|
||||
[MacCatalyst (14,3)]
|
||||
[NoTV][NoWatch]
|
||||
[Mac (11, 1), iOS (14, 3)]
|
||||
[MacCatalyst (14, 3)]
|
||||
[NoTV]
|
||||
[NoWatch]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface AAAttribution {
|
||||
|
|
|
@ -13,7 +13,7 @@ using System;
|
|||
|
||||
namespace AdSupport {
|
||||
|
||||
[Mac (10,14)]
|
||||
[Mac (10, 14)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface ASIdentifierManager {
|
||||
|
@ -31,7 +31,8 @@ namespace AdSupport {
|
|||
[Export ("advertisingIdentifier")]
|
||||
NSUuid AdvertisingIdentifier { get; }
|
||||
|
||||
[NoTV][NoiOS]
|
||||
[NoTV]
|
||||
[NoiOS]
|
||||
[NoMac] // unclear when that was changed (xcode 12 GM allowed it)
|
||||
[Export ("clearAdvertisingIdentifier")]
|
||||
void ClearAdvertisingIdentifier ();
|
||||
|
|
|
@ -6,8 +6,8 @@ using Foundation;
|
|||
|
||||
namespace AppClip {
|
||||
|
||||
[iOS (14,0)]
|
||||
[MacCatalyst (14,0)]
|
||||
[iOS (14, 0)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[ErrorDomain ("APActivationPayloadErrorDomain")]
|
||||
[Native]
|
||||
public enum APActivationPayloadErrorCode : long {
|
||||
|
@ -15,8 +15,8 @@ namespace AppClip {
|
|||
DoesNotMatch = 2,
|
||||
}
|
||||
|
||||
[iOS (14,0)]
|
||||
[MacCatalyst (14,0)]
|
||||
[iOS (14, 0)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface APActivationPayload : NSSecureCoding, NSCopying {
|
||||
|
|
5772
src/appkit.cs
5772
src/appkit.cs
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
501
src/arkit.cs
501
src/arkit.cs
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -32,7 +32,7 @@ namespace AssetsLibrary {
|
|||
[Export ("ALAssetLibraryDeletedAssetGroupsKey")]
|
||||
NSSet DeletedAssetGroupsKey { get; }
|
||||
}
|
||||
|
||||
|
||||
[Deprecated (PlatformName.iOS, 9, 0, message: "Use the 'Photos' API instead.")]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface ALAssetsLibrary {
|
||||
|
@ -47,19 +47,19 @@ namespace AssetsLibrary {
|
|||
|
||||
[Export ("writeImageDataToSavedPhotosAlbum:metadata:completionBlock:")]
|
||||
[Async]
|
||||
void WriteImageToSavedPhotosAlbum (NSData imageData, NSDictionary metadata, [NullAllowed] Action<NSUrl,NSError> completionBlock);
|
||||
void WriteImageToSavedPhotosAlbum (NSData imageData, NSDictionary metadata, [NullAllowed] Action<NSUrl, NSError> completionBlock);
|
||||
|
||||
[Export ("writeImageToSavedPhotosAlbum:metadata:completionBlock:")]
|
||||
[Async]
|
||||
void WriteImageToSavedPhotosAlbum (CGImage imageData, NSDictionary metadata, [NullAllowed] Action<NSUrl,NSError> completionBlock);
|
||||
void WriteImageToSavedPhotosAlbum (CGImage imageData, NSDictionary metadata, [NullAllowed] Action<NSUrl, NSError> completionBlock);
|
||||
|
||||
[Export ("writeImageToSavedPhotosAlbum:orientation:completionBlock:")]
|
||||
[Async]
|
||||
void WriteImageToSavedPhotosAlbum (CGImage imageData, ALAssetOrientation orientation, [NullAllowed] Action<NSUrl,NSError> completionBlock);
|
||||
void WriteImageToSavedPhotosAlbum (CGImage imageData, ALAssetOrientation orientation, [NullAllowed] Action<NSUrl, NSError> completionBlock);
|
||||
|
||||
[Export ("writeVideoAtPathToSavedPhotosAlbum:completionBlock:")]
|
||||
[Async]
|
||||
void WriteVideoToSavedPhotosAlbum (NSUrl videoPathURL, [NullAllowed] Action<NSUrl,NSError> completionBlock);
|
||||
void WriteVideoToSavedPhotosAlbum (NSUrl videoPathURL, [NullAllowed] Action<NSUrl, NSError> completionBlock);
|
||||
|
||||
[Field ("ALAssetsLibraryChangedNotification")]
|
||||
[Notification]
|
||||
|
@ -122,7 +122,7 @@ namespace AssetsLibrary {
|
|||
|
||||
[Field ("ALAssetPropertyOrientation"), Internal]
|
||||
NSString _PropertyOrientation { get; }
|
||||
|
||||
|
||||
[Field ("ALAssetPropertyDate"), Internal]
|
||||
NSString _PropertyDate { get; }
|
||||
|
||||
|
@ -145,29 +145,29 @@ namespace AssetsLibrary {
|
|||
NSString _TypeUnknown { get; }
|
||||
|
||||
[Export ("originalAsset")]
|
||||
ALAsset OriginalAsset { get; }
|
||||
ALAsset OriginalAsset { get; }
|
||||
|
||||
[Export ("editable")]
|
||||
bool Editable { [Bind ("isEditable")] get; }
|
||||
bool Editable { [Bind ("isEditable")] get; }
|
||||
|
||||
[Export ("aspectRatioThumbnail")]
|
||||
CGImage AspectRatioThumbnail ();
|
||||
|
||||
[Export ("writeModifiedImageDataToSavedPhotosAlbum:metadata:completionBlock:")]
|
||||
[Async]
|
||||
void WriteModifiedImageToSavedToPhotosAlbum (NSData imageData, NSDictionary metadata, [NullAllowed] Action<NSUrl,NSError> completionBlock);
|
||||
void WriteModifiedImageToSavedToPhotosAlbum (NSData imageData, NSDictionary metadata, [NullAllowed] Action<NSUrl, NSError> completionBlock);
|
||||
|
||||
[Export ("writeModifiedVideoAtPathToSavedPhotosAlbum:completionBlock:")]
|
||||
[Async]
|
||||
void WriteModifiedVideoToSavedPhotosAlbum (NSUrl videoPathURL, [NullAllowed] Action<NSUrl,NSError> completionBlock);
|
||||
void WriteModifiedVideoToSavedPhotosAlbum (NSUrl videoPathURL, [NullAllowed] Action<NSUrl, NSError> completionBlock);
|
||||
|
||||
[Export ("setImageData:metadata:completionBlock:")]
|
||||
[Async]
|
||||
void SetImageData (NSData imageData, NSDictionary metadata, [NullAllowed] Action<NSUrl,NSError> completionBlock);
|
||||
void SetImageData (NSData imageData, NSDictionary metadata, [NullAllowed] Action<NSUrl, NSError> completionBlock);
|
||||
|
||||
[Export ("setVideoAtPath:completionBlock:")]
|
||||
[Async]
|
||||
void SetVideoAtPath (NSUrl videoPathURL, [NullAllowed] Action<NSUrl,NSError> completionBlock);
|
||||
void SetVideoAtPath (NSUrl videoPathURL, [NullAllowed] Action<NSUrl, NSError> completionBlock);
|
||||
}
|
||||
|
||||
[BaseType (typeof (NSObject))]
|
||||
|
@ -208,7 +208,7 @@ namespace AssetsLibrary {
|
|||
|
||||
[Export ("filename")]
|
||||
string Filename { get; }
|
||||
|
||||
|
||||
[Export ("dimensions")]
|
||||
CGSize Dimensions { get; }
|
||||
}
|
||||
|
@ -246,7 +246,7 @@ namespace AssetsLibrary {
|
|||
|
||||
[Export ("enumerateAssetsUsingBlock:")]
|
||||
void Enumerate (ALAssetsEnumerator result);
|
||||
|
||||
|
||||
[Export ("enumerateAssetsWithOptions:usingBlock:")]
|
||||
void Enumerate (NSEnumerationOptions options, ALAssetsEnumerator result);
|
||||
|
||||
|
@ -263,7 +263,7 @@ namespace AssetsLibrary {
|
|||
NSString _PersistentID { get; }
|
||||
|
||||
[Export ("editable")]
|
||||
bool Editable { [Bind ("isEditable")] get; }
|
||||
bool Editable { [Bind ("isEditable")] get; }
|
||||
|
||||
[Export ("addAsset:")]
|
||||
bool AddAsset (ALAsset asset);
|
||||
|
|
190
src/audiounit.cs
190
src/audiounit.cs
|
@ -41,25 +41,25 @@ using NativeHandle = System.IntPtr;
|
|||
#endif
|
||||
|
||||
namespace AudioUnit {
|
||||
delegate AudioUnitStatus AUInternalRenderBlock (ref AudioUnitRenderActionFlags actionFlags, ref AudioTimeStamp timestamp, uint frameCount, nint outputBusNumber, AudioBuffers outputData, AURenderEventEnumerator realtimeEventListHead, [BlockCallback][NullAllowed]AURenderPullInputBlock pullInputBlock);
|
||||
delegate AudioUnitStatus AUInternalRenderBlock (ref AudioUnitRenderActionFlags actionFlags, ref AudioTimeStamp timestamp, uint frameCount, nint outputBusNumber, AudioBuffers outputData, AURenderEventEnumerator realtimeEventListHead, [BlockCallback][NullAllowed] AURenderPullInputBlock pullInputBlock);
|
||||
delegate AudioUnitStatus AURenderBlock (ref AudioUnitRenderActionFlags actionFlags, ref AudioTimeStamp timestamp, uint frameCount, nint outputBusNumber, AudioBuffers outputData, [BlockCallback][NullAllowed] AURenderPullInputBlock pullInputBlock);
|
||||
|
||||
internal delegate AudioUnitStatus AURenderPullInputBlock (ref AudioUnitRenderActionFlags actionFlags, ref AudioTimeStamp timestamp,
|
||||
uint frameCount, nint inputBusNumber, AudioBuffers inputData);
|
||||
|
||||
delegate void AUScheduleParameterBlock (AUEventSampleTime eventSampleTime, uint rampDurationSampleFrames, ulong parameterAddress, float value);
|
||||
[iOS (11, 0), Mac (10,13), TV (11,0), NoWatch]
|
||||
[iOS (11, 0), Mac (10, 13), TV (11, 0), NoWatch]
|
||||
delegate int AUMidiOutputEventBlock (long eventSampleTime, byte cable, nint length, IntPtr midiBytes);
|
||||
delegate void AUImplementorValueObserver (AUParameter param, float value);
|
||||
delegate float AUImplementorValueProvider (AUParameter param);
|
||||
|
||||
delegate void AUParameterObserver (ulong address, float value);
|
||||
|
||||
|
||||
delegate void AUVoiceIOMutedSpeechActivityEventListener (AUVoiceIOSpeechActivityEvent activityEvent);
|
||||
|
||||
// AUAudioTODO - We need testing for these bindings
|
||||
// delegate void AUScheduleMidiEventBlock (AUEventSampleTime eventSampleTime, byte cable, nint length, ref byte midiBytes);
|
||||
// delegate bool AUHostMusicalContextBlock (ref double currentTempo, ref double timeSignatureNumerator, ref nint timeSignatureDenominator, ref double currentBeatPosition, ref nint sampleOffsetToNextBeat, ref double currentMeasureDownbeatPosition);
|
||||
// AUAudioTODO - We need testing for these bindings
|
||||
// delegate void AUScheduleMidiEventBlock (AUEventSampleTime eventSampleTime, byte cable, nint length, ref byte midiBytes);
|
||||
// delegate bool AUHostMusicalContextBlock (ref double currentTempo, ref double timeSignatureNumerator, ref nint timeSignatureDenominator, ref double currentBeatPosition, ref nint sampleOffsetToNextBeat, ref double currentMeasureDownbeatPosition);
|
||||
#if !NET
|
||||
[Advice ("The signature will change in the future to return a string")]
|
||||
delegate NSString AUImplementorStringFromValueCallback (AUParameter param, ref float? value);
|
||||
|
@ -73,14 +73,14 @@ namespace AudioUnit {
|
|||
delegate bool AUHostTransportStateBlock (ref AUHostTransportStateFlags transportStateFlags, ref double currentSamplePosition, ref double cycleStartBeatPosition, ref double cycleEndBeatPosition);
|
||||
delegate void AURenderObserver (AudioUnitRenderActionFlags actionFlags, ref AudioTimeStamp timestamp, uint frameCount, nint outputBusNumber);
|
||||
delegate float AUImplementorValueFromStringCallback (AUParameter param, string str);
|
||||
[NoTV][NoWatch]
|
||||
[NoTV]
|
||||
[NoWatch]
|
||||
delegate void AUMidiCIProfileChangedCallback (byte cable, byte channel, MidiCIProfile profile, bool enabled);
|
||||
|
||||
[iOS (9,0), Mac(10,11)]
|
||||
[BaseType (typeof(NSObject))]
|
||||
[iOS (9, 0), Mac (10, 11)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface AUAudioUnit
|
||||
{
|
||||
interface AUAudioUnit {
|
||||
[Static]
|
||||
[Export ("registerSubclass:asComponentDescription:name:version:")] // AUAudioUnitImplementation
|
||||
void RegisterSubclass (Class cls, AudioComponentDescription componentDescription, string name, uint version);
|
||||
|
@ -153,18 +153,18 @@ namespace AudioUnit {
|
|||
// [Export ("scheduleMIDIEventListBlock")]
|
||||
// AUMidiEventListBlock ScheduleMidiEventListBlock { get; }
|
||||
|
||||
// [Export ("tokenByAddingRenderObserver:")]
|
||||
// nint GetToken (AURenderObserver observer);
|
||||
// [Export ("tokenByAddingRenderObserver:")]
|
||||
// nint GetToken (AURenderObserver observer);
|
||||
|
||||
// [NullAllowed, Export ("scheduleMIDIEventBlock")]
|
||||
// AUScheduleMidiEventBlock ScheduleMidiEventBlock { get; }
|
||||
// [NullAllowed, Export ("scheduleMIDIEventBlock")]
|
||||
// AUScheduleMidiEventBlock ScheduleMidiEventBlock { get; }
|
||||
|
||||
// [NullAllowed, Export ("musicalContextBlock", ArgumentSemantic.Copy)]
|
||||
// AUHostMusicalContextBlock MusicalContextBlock { get; set; }
|
||||
// [NullAllowed, Export ("musicalContextBlock", ArgumentSemantic.Copy)]
|
||||
// AUHostMusicalContextBlock MusicalContextBlock { get; set; }
|
||||
|
||||
[Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)]
|
||||
[Export ("MIDIOutputNames", ArgumentSemantic.Copy)]
|
||||
string[] MidiOutputNames { get; }
|
||||
string [] MidiOutputNames { get; }
|
||||
|
||||
// TODO: https://github.com/xamarin/xamarin-macios/issues/12489
|
||||
// [TV (15,0), NoWatch, Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
|
||||
|
@ -200,15 +200,15 @@ namespace AudioUnit {
|
|||
uint MaximumFramesToRender { get; set; }
|
||||
|
||||
[NullAllowed, Export ("parameterTree")]
|
||||
|
||||
|
||||
AUParameterTree ParameterTree {
|
||||
get;
|
||||
get;
|
||||
[Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)]
|
||||
set;
|
||||
}
|
||||
|
||||
[Export ("parametersForOverviewWithCount:")]
|
||||
NSNumber[] GetParametersForOverview (nint count);
|
||||
NSNumber [] GetParametersForOverview (nint count);
|
||||
|
||||
[Export ("allParameterValues")]
|
||||
bool AllParameterValues { get; }
|
||||
|
@ -228,7 +228,7 @@ namespace AudioUnit {
|
|||
NSDictionary FullStateForDocument { get; set; }
|
||||
|
||||
[NullAllowed, Export ("factoryPresets", ArgumentSemantic.Copy)]
|
||||
AUAudioUnitPreset[] FactoryPresets { get; }
|
||||
AUAudioUnitPreset [] FactoryPresets { get; }
|
||||
|
||||
[NullAllowed, Export ("currentPreset", ArgumentSemantic.Retain)]
|
||||
AUAudioUnitPreset CurrentPreset { get; set; }
|
||||
|
@ -252,16 +252,16 @@ namespace AudioUnit {
|
|||
bool RenderingOffline { [Bind ("isRenderingOffline")] get; set; }
|
||||
|
||||
[NullAllowed, Export ("channelCapabilities", ArgumentSemantic.Copy)]
|
||||
NSNumber[] ChannelCapabilities { get; }
|
||||
NSNumber [] ChannelCapabilities { get; }
|
||||
|
||||
[NullAllowed, Export ("contextName")]
|
||||
string ContextName { get; set; }
|
||||
|
||||
[iOS (10,0), Mac (10,12), TV (10,0), Watch (4, 0)]
|
||||
[iOS (10, 0), Mac (10, 12), TV (10, 0), Watch (4, 0)]
|
||||
[Export ("supportsMPE")]
|
||||
bool SupportsMpe { get; }
|
||||
|
||||
[iOS (10,0), Mac (10,12), TV (10,0)]
|
||||
[iOS (10, 0), Mac (10, 12), TV (10, 0)]
|
||||
[Export ("channelMap"), NullAllowed]
|
||||
NSNumber [] ChannelMap { get; set; }
|
||||
|
||||
|
@ -269,7 +269,7 @@ namespace AudioUnit {
|
|||
[Export ("requestViewControllerWithCompletionHandler:")]
|
||||
[Async]
|
||||
void RequestViewController (Action<AUViewControllerBase> completionHandler);
|
||||
|
||||
|
||||
// AUAudioUnitImplementation
|
||||
[Export ("setRenderResourcesAllocated:")]
|
||||
void SetRenderResourcesAllocated (bool flag);
|
||||
|
@ -287,35 +287,41 @@ namespace AudioUnit {
|
|||
[Export ("MIDIOutputBufferSizeHint")]
|
||||
nint MidiOutputBufferSizeHint { get; set; }
|
||||
|
||||
[Mac (10,14), iOS (12,0)][NoWatch][NoTV]
|
||||
[Mac (10, 14), iOS (12, 0)]
|
||||
[NoWatch]
|
||||
[NoTV]
|
||||
[Export ("profileStateForCable:channel:")]
|
||||
MidiCIProfileState GetProfileState (byte cable, byte channel);
|
||||
|
||||
[Mac (10,14), iOS (12, 0), NoWatch, NoTV]
|
||||
[Mac (10, 14), iOS (12, 0), NoWatch, NoTV]
|
||||
[NullAllowed, Export ("profileChangedBlock", ArgumentSemantic.Assign)]
|
||||
AUMidiCIProfileChangedCallback ProfileChangedCallback { get; set; }
|
||||
|
||||
[Mac (10,14), iOS (12,0)][NoWatch][NoTV]
|
||||
[Mac (10, 14), iOS (12, 0)]
|
||||
[NoWatch]
|
||||
[NoTV]
|
||||
[Export ("disableProfile:cable:onChannel:error:")]
|
||||
bool Disable (MidiCIProfile profile, byte cable, byte channel, [NullAllowed] out NSError outError);
|
||||
|
||||
[Mac (10,14), iOS (12,0)][NoWatch][NoTV]
|
||||
[Mac (10, 14), iOS (12, 0)]
|
||||
[NoWatch]
|
||||
[NoTV]
|
||||
[Export ("enableProfile:cable:onChannel:error:")]
|
||||
bool Enable (MidiCIProfile profile, byte cable, byte channel, [NullAllowed] out NSError outError);
|
||||
|
||||
[Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)]
|
||||
[Export ("userPresets", ArgumentSemantic.Copy)]
|
||||
AUAudioUnitPreset[] UserPresets { get; }
|
||||
AUAudioUnitPreset [] UserPresets { get; }
|
||||
|
||||
[Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)]
|
||||
[Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)]
|
||||
[Export ("saveUserPreset:error:")]
|
||||
bool SaveUserPreset (AUAudioUnitPreset userPreset, [NullAllowed] out NSError outError);
|
||||
|
||||
[Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)]
|
||||
[Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)]
|
||||
[Export ("deleteUserPreset:error:")]
|
||||
bool DeleteUserPreset (AUAudioUnitPreset userPreset, [NullAllowed] out NSError outError);
|
||||
|
||||
[Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)]
|
||||
[Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)]
|
||||
[Export ("presetStateFor:error:")]
|
||||
[return: NullAllowed]
|
||||
NSDictionary<NSString, NSObject> GetPresetState (AUAudioUnitPreset userPreset, [NullAllowed] out NSError outError);
|
||||
|
@ -332,16 +338,16 @@ namespace AudioUnit {
|
|||
|
||||
// kept separate from AUAudioUnit, quote:
|
||||
// These methods will fail if the audio unit is not an input/output audio unit.
|
||||
[iOS (9,0), Mac(10,11)]
|
||||
[iOS (9, 0), Mac (10, 11)]
|
||||
[Category]
|
||||
[BaseType (typeof (AUAudioUnit))]
|
||||
interface AUAudioUnit_AUAudioInputOutputUnit {
|
||||
|
||||
[Mac (10,12), NoTV, NoiOS, NoWatch]
|
||||
[Mac (10, 12), NoTV, NoiOS, NoWatch]
|
||||
[Export ("deviceID")]
|
||||
uint GetDeviceId ();
|
||||
|
||||
[Mac (10,12), NoTV, NoiOS, NoWatch]
|
||||
[Mac (10, 12), NoTV, NoiOS, NoWatch]
|
||||
[Export ("setDeviceID:error:")]
|
||||
bool SetDeviceId (uint deviceID, out NSError outError);
|
||||
|
||||
|
@ -353,7 +359,7 @@ namespace AudioUnit {
|
|||
|
||||
[Export ("isInputEnabled")]
|
||||
bool IsInputEnabled ();
|
||||
|
||||
|
||||
[Export ("setInputEnabled:")]
|
||||
bool SetInputEnabled (bool enabled);
|
||||
|
||||
|
@ -362,7 +368,7 @@ namespace AudioUnit {
|
|||
|
||||
[Export ("setOutputEnabled:")]
|
||||
bool SetOutputEnabled (bool enabled);
|
||||
|
||||
|
||||
[return: NullAllowed]
|
||||
[Export ("inputHandler", ArgumentSemantic.Copy)]
|
||||
AUInputHandler GetInputHandler ();
|
||||
|
@ -397,10 +403,9 @@ namespace AudioUnit {
|
|||
bool IsRunning ();
|
||||
}
|
||||
|
||||
[iOS (9,0), Mac(10,11)]
|
||||
[BaseType (typeof(NSObject))]
|
||||
interface AUAudioUnitBus
|
||||
{
|
||||
[iOS (9, 0), Mac (10, 11)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface AUAudioUnitBus {
|
||||
[Export ("initWithFormat:error:")]
|
||||
NativeHandle Constructor (AVAudioFormat format, [NullAllowed] out NSError outError);
|
||||
|
||||
|
@ -426,14 +431,14 @@ namespace AudioUnit {
|
|||
AUAudioUnit OwnerAudioUnit { get; }
|
||||
|
||||
[NullAllowed, Export ("supportedChannelLayoutTags", ArgumentSemantic.Copy)]
|
||||
NSNumber[] SupportedChannelLayoutTags { get; }
|
||||
NSNumber [] SupportedChannelLayoutTags { get; }
|
||||
|
||||
[Export ("contextPresentationLatency")]
|
||||
double ContextPresentationLatency { get; set; }
|
||||
|
||||
// AUAudioUnitImplementation
|
||||
[NullAllowed, Export ("supportedChannelCounts", ArgumentSemantic.Retain)]
|
||||
NSNumber[] SupportedChannelCounts { get; set; }
|
||||
NSNumber [] SupportedChannelCounts { get; set; }
|
||||
|
||||
[Export ("maximumChannelCount")]
|
||||
uint MaximumChannelCount { get; set; }
|
||||
|
@ -443,14 +448,13 @@ namespace AudioUnit {
|
|||
bool ShouldAllocateBuffer { get; set; }
|
||||
}
|
||||
|
||||
[iOS (9,0), Mac(10,11)]
|
||||
[BaseType (typeof(NSObject))]
|
||||
[iOS (9, 0), Mac (10, 11)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface AUAudioUnitBusArray : INSFastEnumeration
|
||||
{
|
||||
interface AUAudioUnitBusArray : INSFastEnumeration {
|
||||
[Export ("initWithAudioUnit:busType:busses:")]
|
||||
[DesignatedInitializer]
|
||||
NativeHandle Constructor (AUAudioUnit owner, AUAudioUnitBusType busType, AUAudioUnitBus[] busArray);
|
||||
NativeHandle Constructor (AUAudioUnit owner, AUAudioUnitBusType busType, AUAudioUnitBus [] busArray);
|
||||
|
||||
[Export ("initWithAudioUnit:busType:")]
|
||||
NativeHandle Constructor (AUAudioUnit owner, AUAudioUnitBusType busType);
|
||||
|
@ -484,13 +488,12 @@ namespace AudioUnit {
|
|||
|
||||
//AUAudioUnitBusImplementation
|
||||
[Export ("replaceBusses:")]
|
||||
void ReplaceBusses (AUAudioUnitBus[] busArray);
|
||||
void ReplaceBusses (AUAudioUnitBus [] busArray);
|
||||
}
|
||||
|
||||
[iOS (9,0), Mac(10,11)]
|
||||
[BaseType (typeof(NSObject))]
|
||||
interface AUAudioUnitPreset : NSSecureCoding
|
||||
{
|
||||
[iOS (9, 0), Mac (10, 11)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface AUAudioUnitPreset : NSSecureCoding {
|
||||
[Export ("number", ArgumentSemantic.Assign)]
|
||||
nint Number { get; set; }
|
||||
|
||||
|
@ -498,10 +501,9 @@ namespace AudioUnit {
|
|||
string Name { get; set; }
|
||||
}
|
||||
|
||||
[iOS (9,0), Mac(10,11)]
|
||||
[BaseType (typeof(AUParameterNode))]
|
||||
interface AUParameter : NSSecureCoding
|
||||
{
|
||||
[iOS (9, 0), Mac (10, 11)]
|
||||
[BaseType (typeof (AUParameterNode))]
|
||||
interface AUParameter : NSSecureCoding {
|
||||
[Export ("minValue")]
|
||||
float MinValue { get; }
|
||||
|
||||
|
@ -521,10 +523,10 @@ namespace AudioUnit {
|
|||
ulong Address { get; }
|
||||
|
||||
[NullAllowed, Export ("valueStrings", ArgumentSemantic.Copy)]
|
||||
string[] ValueStrings { get; }
|
||||
string [] ValueStrings { get; }
|
||||
|
||||
[NullAllowed, Export ("dependentParameters", ArgumentSemantic.Copy)]
|
||||
NSNumber[] DependentParameters { get; }
|
||||
NSNumber [] DependentParameters { get; }
|
||||
|
||||
[Export ("value")]
|
||||
float Value { get; set; }
|
||||
|
@ -545,30 +547,31 @@ namespace AudioUnit {
|
|||
[Export ("stringFromValue:")]
|
||||
string GetString (ref float value);
|
||||
|
||||
[Internal][Sealed][Export ("stringFromValue:")]
|
||||
[Internal]
|
||||
[Sealed]
|
||||
[Export ("stringFromValue:")]
|
||||
string _GetString (IntPtr value);
|
||||
|
||||
[Export ("valueFromString:")]
|
||||
float GetValue (string str);
|
||||
|
||||
[iOS (10,0), Mac (10,12)]
|
||||
[TV (10,0)]
|
||||
[iOS (10, 0), Mac (10, 12)]
|
||||
[TV (10, 0)]
|
||||
[Internal]
|
||||
[Export ("setValue:originator:atHostTime:eventType:")]
|
||||
void SetValue (float value, IntPtr originator, ulong hostTime, AUParameterAutomationEventType eventType);
|
||||
|
||||
[iOS (10,0), Mac (10,12), Watch (4, 0), TV (10, 0)]
|
||||
[iOS (10, 0), Mac (10, 12), Watch (4, 0), TV (10, 0)]
|
||||
[Wrap ("SetValue (value, originator.ObserverToken, hostTime, eventType)")]
|
||||
void SetValue (float value, AUParameterObserverToken originator, ulong hostTime, AUParameterAutomationEventType eventType);
|
||||
}
|
||||
|
||||
[iOS (10,0), Mac (10,12)]
|
||||
[iOS (10, 0), Mac (10, 12)]
|
||||
delegate void AUParameterAutomationObserver (ulong address, float value);
|
||||
|
||||
[iOS (9,0), Mac(10,11)]
|
||||
[BaseType (typeof(NSObject))]
|
||||
interface AUParameterNode
|
||||
{
|
||||
[iOS (9, 0), Mac (10, 11)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface AUParameterNode {
|
||||
[Export ("identifier")]
|
||||
string Identifier { get; }
|
||||
|
||||
|
@ -582,13 +585,15 @@ namespace AudioUnit {
|
|||
string GetDisplayName (nint maximumLength);
|
||||
|
||||
[Export ("tokenByAddingParameterObserver:")]
|
||||
/* void * */ IntPtr TokenByAddingParameterObserver (AUParameterObserver observer);
|
||||
/* void * */
|
||||
IntPtr TokenByAddingParameterObserver (AUParameterObserver observer);
|
||||
|
||||
[Wrap ("new AUParameterObserverToken { ObserverToken = TokenByAddingParameterObserver (observer) }")]
|
||||
AUParameterObserverToken CreateTokenByAddingParameterObserver (AUParameterObserver observer);
|
||||
|
||||
[Export ("tokenByAddingParameterRecordingObserver:")]
|
||||
/* void * */ IntPtr TokenByAddingParameterRecordingObserver (AUParameterRecordingObserver observer);
|
||||
/* void * */
|
||||
IntPtr TokenByAddingParameterRecordingObserver (AUParameterRecordingObserver observer);
|
||||
|
||||
[Wrap ("new AUParameterObserverToken { ObserverToken = TokenByAddingParameterRecordingObserver (observer) }")]
|
||||
AUParameterObserverToken CreateTokenByAddingParameterRecordingObserver (AUParameterRecordingObserver observer);
|
||||
|
@ -599,8 +604,8 @@ namespace AudioUnit {
|
|||
[Export ("implementorValueProvider", ArgumentSemantic.Copy)]
|
||||
AUImplementorValueProvider ImplementorValueProvider { get; set; }
|
||||
|
||||
[Export ("implementorValueFromStringCallback", ArgumentSemantic.Copy)]
|
||||
AUImplementorValueFromStringCallback ImplementorValueFromStringCallback { get; set; }
|
||||
[Export ("implementorValueFromStringCallback", ArgumentSemantic.Copy)]
|
||||
AUImplementorValueFromStringCallback ImplementorValueFromStringCallback { get; set; }
|
||||
|
||||
[Export ("removeParameterObserver:")]
|
||||
void RemoveParameterObserver (/* void * */ IntPtr token);
|
||||
|
@ -614,33 +619,31 @@ namespace AudioUnit {
|
|||
[Export ("implementorDisplayNameWithLengthCallback", ArgumentSemantic.Copy)]
|
||||
AUImplementorDisplayNameWithLengthCallback ImplementorDisplayNameWithLengthCallback { get; set; }
|
||||
|
||||
[iOS (10,0), Mac (10,12)]
|
||||
[TV (10,0)]
|
||||
[iOS (10, 0), Mac (10, 12)]
|
||||
[TV (10, 0)]
|
||||
[Internal]
|
||||
[Export ("tokenByAddingParameterAutomationObserver:")]
|
||||
IntPtr _GetToken (AUParameterAutomationObserver observer);
|
||||
|
||||
[iOS (10,0), Mac (10,12)]
|
||||
[TV (10,0)]
|
||||
[iOS (10, 0), Mac (10, 12)]
|
||||
[TV (10, 0)]
|
||||
[Wrap ("new AUParameterObserverToken (_GetToken (observer))")]
|
||||
AUParameterObserverToken GetToken (AUParameterAutomationObserver observer);
|
||||
}
|
||||
|
||||
[iOS (9,0), Mac(10,11)]
|
||||
[BaseType (typeof(AUParameterNode))]
|
||||
interface AUParameterGroup : NSSecureCoding
|
||||
{
|
||||
[iOS (9, 0), Mac (10, 11)]
|
||||
[BaseType (typeof (AUParameterNode))]
|
||||
interface AUParameterGroup : NSSecureCoding {
|
||||
[Export ("children")]
|
||||
AUParameterNode[] Children { get; }
|
||||
AUParameterNode [] Children { get; }
|
||||
|
||||
[Export ("allParameters")]
|
||||
AUParameter[] AllParameters { get; }
|
||||
AUParameter [] AllParameters { get; }
|
||||
}
|
||||
|
||||
[iOS (9,0), Mac(10,11)]
|
||||
[BaseType (typeof(AUParameterGroup))]
|
||||
interface AUParameterTree : NSSecureCoding
|
||||
{
|
||||
[iOS (9, 0), Mac (10, 11)]
|
||||
[BaseType (typeof (AUParameterGroup))]
|
||||
interface AUParameterTree : NSSecureCoding {
|
||||
[Export ("parameterWithAddress:")]
|
||||
[return: NullAllowed]
|
||||
AUParameter GetParameter (ulong address);
|
||||
|
@ -652,15 +655,15 @@ namespace AudioUnit {
|
|||
//Factory
|
||||
[Static]
|
||||
[Export ("createParameterWithIdentifier:name:address:min:max:unit:unitName:flags:valueStrings:dependentParameters:")]
|
||||
AUParameter CreateParameter (string identifier, string name, ulong address, float min, float max, AudioUnitParameterUnit unit, [NullAllowed] string unitName, AudioUnitParameterOptions flags, [NullAllowed] string[] valueStrings, [NullAllowed] NSNumber[] dependentParameters);
|
||||
AUParameter CreateParameter (string identifier, string name, ulong address, float min, float max, AudioUnitParameterUnit unit, [NullAllowed] string unitName, AudioUnitParameterOptions flags, [NullAllowed] string [] valueStrings, [NullAllowed] NSNumber [] dependentParameters);
|
||||
|
||||
[Static]
|
||||
[Export ("createGroupWithIdentifier:name:children:")]
|
||||
AUParameterGroup CreateGroup (string identifier, string name, AUParameterNode[] children);
|
||||
AUParameterGroup CreateGroup (string identifier, string name, AUParameterNode [] children);
|
||||
|
||||
[Static]
|
||||
[Export ("createGroupTemplate:")]
|
||||
AUParameterGroup CreateGroupTemplate (AUParameterNode[] children);
|
||||
AUParameterGroup CreateGroupTemplate (AUParameterNode [] children);
|
||||
|
||||
[Static]
|
||||
[Export ("createGroupFromTemplate:identifier:name:addressOffset:")]
|
||||
|
@ -668,12 +671,11 @@ namespace AudioUnit {
|
|||
|
||||
[Static]
|
||||
[Export ("createTreeWithChildren:")]
|
||||
AUParameterTree CreateTree (AUParameterNode[] children);
|
||||
AUParameterTree CreateTree (AUParameterNode [] children);
|
||||
}
|
||||
|
||||
[Protocol]
|
||||
interface AUAudioUnitFactory : NSExtensionRequestHandling
|
||||
{
|
||||
interface AUAudioUnitFactory : NSExtensionRequestHandling {
|
||||
[Abstract]
|
||||
[Export ("createAudioUnitWithComponentDescription:error:")]
|
||||
[return: NullAllowed]
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -19,8 +19,8 @@ using NativeHandle = System.IntPtr;
|
|||
namespace AutomaticAssessmentConfiguration {
|
||||
|
||||
[ErrorDomain ("AEAssessmentErrorDomain")]
|
||||
[Mac (10,15,4), iOS (13,4)]
|
||||
[MacCatalyst (14,0)]
|
||||
[Mac (10, 15, 4), iOS (13, 4)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Native]
|
||||
public enum AEAssessmentErrorCode : long {
|
||||
Unknown = 1,
|
||||
|
@ -28,16 +28,16 @@ namespace AutomaticAssessmentConfiguration {
|
|||
}
|
||||
|
||||
[iOS (14, 0)]
|
||||
[MacCatalyst (14,0)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Native]
|
||||
enum AEAutocorrectMode : long {
|
||||
None = 0,
|
||||
Spelling = 1 << 0,
|
||||
Punctuation = 1 << 1,
|
||||
}
|
||||
|
||||
[Mac (10,15,4), iOS (13,4)]
|
||||
[MacCatalyst (14,0)]
|
||||
|
||||
[Mac (10, 15, 4), iOS (13, 4)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface AEAssessmentConfiguration : NSCopying {
|
||||
|
||||
|
@ -77,25 +77,25 @@ namespace AutomaticAssessmentConfiguration {
|
|||
[Export ("allowsContinuousPathKeyboard")]
|
||||
bool AllowsContinuousPathKeyboard { get; set; }
|
||||
|
||||
[NoiOS, Mac (12,0), MacCatalyst (15,0)]
|
||||
[NoiOS, Mac (12, 0), MacCatalyst (15, 0)]
|
||||
[Export ("configurationsByApplication", ArgumentSemantic.Copy)]
|
||||
NSDictionary<AEAssessmentApplication, AEAssessmentParticipantConfiguration> ConfigurationsByApplication { get; }
|
||||
|
||||
[NoiOS, Mac (12,0), MacCatalyst (15,0)]
|
||||
[NoiOS, Mac (12, 0), MacCatalyst (15, 0)]
|
||||
[Export ("mainParticipantConfiguration", ArgumentSemantic.Strong)]
|
||||
AEAssessmentParticipantConfiguration MainParticipantConfiguration { get; }
|
||||
|
||||
[NoiOS, Mac (12,0), MacCatalyst (15,0)]
|
||||
[NoiOS, Mac (12, 0), MacCatalyst (15, 0)]
|
||||
[Export ("removeApplication:")]
|
||||
void Remove (AEAssessmentApplication application);
|
||||
|
||||
[NoiOS, Mac (12,0), MacCatalyst (15,0)]
|
||||
[NoiOS, Mac (12, 0), MacCatalyst (15, 0)]
|
||||
[Export ("setConfiguration:forApplication:")]
|
||||
void SetConfiguration (AEAssessmentParticipantConfiguration configuration, AEAssessmentApplication application);
|
||||
}
|
||||
|
||||
[Mac (10,15,4), iOS (13,4)]
|
||||
[MacCatalyst (14,0)]
|
||||
[Mac (10, 15, 4), iOS (13, 4)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface AEAssessmentSession {
|
||||
|
@ -113,11 +113,11 @@ namespace AutomaticAssessmentConfiguration {
|
|||
[Export ("initWithConfiguration:")]
|
||||
NativeHandle Constructor (AEAssessmentConfiguration configuration);
|
||||
|
||||
[Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
|
||||
[Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)]
|
||||
[Export ("configuration", ArgumentSemantic.Copy)]
|
||||
AEAssessmentConfiguration Configuration { get; }
|
||||
|
||||
[Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
|
||||
[Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)]
|
||||
[Export ("updateToConfiguration:")]
|
||||
void Update (AEAssessmentConfiguration configuration);
|
||||
|
||||
|
@ -130,8 +130,8 @@ namespace AutomaticAssessmentConfiguration {
|
|||
|
||||
interface IAEAssessmentSessionDelegate { }
|
||||
|
||||
[Mac (10,15,4), iOS (13,4)]
|
||||
[MacCatalyst (14,0)]
|
||||
[Mac (10, 15, 4), iOS (13, 4)]
|
||||
[MacCatalyst (14, 0)]
|
||||
#if NET
|
||||
[Protocol, Model]
|
||||
#else
|
||||
|
@ -152,19 +152,18 @@ namespace AutomaticAssessmentConfiguration {
|
|||
[Export ("assessmentSessionDidEnd:")]
|
||||
void DidEnd (AEAssessmentSession session);
|
||||
|
||||
[NoiOS, Mac (12,0), MacCatalyst (15,0)]
|
||||
[NoiOS, Mac (12, 0), MacCatalyst (15, 0)]
|
||||
[Export ("assessmentSessionDidUpdate:")]
|
||||
void DidUpdate (AEAssessmentSession session);
|
||||
|
||||
[NoiOS, Mac (12,0), MacCatalyst (15,0)]
|
||||
[NoiOS, Mac (12, 0), MacCatalyst (15, 0)]
|
||||
[Export ("assessmentSession:failedToUpdateToConfiguration:error:")]
|
||||
void FailedToUpdate (AEAssessmentSession session, AEAssessmentConfiguration configuration, NSError error);
|
||||
}
|
||||
|
||||
[Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
|
||||
[Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface AEAssessmentApplication : NSCopying
|
||||
{
|
||||
interface AEAssessmentApplication : NSCopying {
|
||||
[Export ("bundleIdentifier")]
|
||||
string BundleIdentifier { get; }
|
||||
|
||||
|
@ -175,10 +174,9 @@ namespace AutomaticAssessmentConfiguration {
|
|||
bool RequiresSignatureValidation { get; set; }
|
||||
}
|
||||
|
||||
[Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
|
||||
[Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface AEAssessmentParticipantConfiguration : NSCopying
|
||||
{
|
||||
interface AEAssessmentParticipantConfiguration : NSCopying {
|
||||
[Export ("allowsNetworkAccess")]
|
||||
bool AllowsNetworkAccess { get; set; }
|
||||
}
|
||||
|
|
6104
src/avfoundation.cs
6104
src/avfoundation.cs
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
431
src/avkit.cs
431
src/avkit.cs
|
@ -50,62 +50,61 @@ using NativeHandle = System.IntPtr;
|
|||
|
||||
namespace AVKit {
|
||||
[TV (14, 0)]
|
||||
[iOS (9,0)]
|
||||
[Mac (10,15)]
|
||||
[BaseType (typeof(NSObject))]
|
||||
[iOS (9, 0)]
|
||||
[Mac (10, 15)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
#if NET
|
||||
[Sealed] // Apple docs: Do not subclass AVPictureInPictureController. Overriding this class’s methods is unsupported and results in undefined behavior.
|
||||
#endif
|
||||
interface AVPictureInPictureController
|
||||
{
|
||||
interface AVPictureInPictureController {
|
||||
[Static]
|
||||
[Export ("isPictureInPictureSupported")]
|
||||
bool IsPictureInPictureSupported { get; }
|
||||
|
||||
|
||||
[Export ("initWithPlayerLayer:")]
|
||||
NativeHandle Constructor (AVPlayerLayer playerLayer);
|
||||
|
||||
[TV (15,0), NoWatch, Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
|
||||
[TV (15, 0), NoWatch, Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)]
|
||||
[Export ("initWithContentSource:")]
|
||||
[DesignatedInitializer]
|
||||
NativeHandle Constructor (AVPictureInPictureControllerContentSource contentSource);
|
||||
|
||||
|
||||
[Export ("playerLayer")]
|
||||
AVPlayerLayer PlayerLayer { get; }
|
||||
|
||||
|
||||
[Wrap ("WeakDelegate")]
|
||||
[NullAllowed]
|
||||
IAVPictureInPictureControllerDelegate Delegate { get; set; }
|
||||
|
||||
|
||||
[NullAllowed, Export ("delegate", ArgumentSemantic.Weak)]
|
||||
NSObject WeakDelegate { get; set; }
|
||||
|
||||
|
||||
[Export ("startPictureInPicture")]
|
||||
void StartPictureInPicture ();
|
||||
|
||||
|
||||
[Export ("stopPictureInPicture")]
|
||||
void StopPictureInPicture ();
|
||||
|
||||
|
||||
[Export ("pictureInPicturePossible")]
|
||||
bool PictureInPicturePossible { [Bind ("isPictureInPicturePossible")] get; }
|
||||
|
||||
|
||||
[Export ("pictureInPictureActive")]
|
||||
bool PictureInPictureActive { [Bind ("isPictureInPictureActive")] get; }
|
||||
|
||||
|
||||
[Export ("pictureInPictureSuspended")]
|
||||
bool PictureInPictureSuspended { [Bind ("isPictureInPictureSuspended")] get; }
|
||||
|
||||
[iOS (13,0)]
|
||||
[iOS (13, 0)]
|
||||
[Static]
|
||||
[Export ("pictureInPictureButtonStartImage")]
|
||||
UIImage PictureInPictureButtonStartImage { get; }
|
||||
|
||||
[iOS (13,0)]
|
||||
|
||||
[iOS (13, 0)]
|
||||
[Static]
|
||||
[Export ("pictureInPictureButtonStopImage")]
|
||||
UIImage PictureInPictureButtonStopImage { get; }
|
||||
|
||||
|
||||
[NoMac]
|
||||
[Static]
|
||||
[Export ("pictureInPictureButtonStartImageCompatibleWithTraitCollection:")]
|
||||
|
@ -120,53 +119,52 @@ namespace AVKit {
|
|||
[Export ("requiresLinearPlayback")]
|
||||
bool RequiresLinearPlayback { get; set; }
|
||||
|
||||
[NoWatch, NoMac, NoiOS, MacCatalyst (15,0)]
|
||||
[NoWatch, NoMac, NoiOS, MacCatalyst (15, 0)]
|
||||
[Export ("canStopPictureInPicture")]
|
||||
bool CanStopPictureInPicture { get; }
|
||||
|
||||
[iOS (14,2)]
|
||||
[NoWatch, NoTV, NoMac, MacCatalyst (15,0)]
|
||||
[iOS (14, 2)]
|
||||
[NoWatch, NoTV, NoMac, MacCatalyst (15, 0)]
|
||||
[Export ("canStartPictureInPictureAutomaticallyFromInline")]
|
||||
bool CanStartPictureInPictureAutomaticallyFromInline { get; set; }
|
||||
|
||||
[TV (15,0), NoWatch, Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
|
||||
[TV (15, 0), NoWatch, Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)]
|
||||
[Export ("invalidatePlaybackState")]
|
||||
void InvalidatePlaybackState ();
|
||||
|
||||
[NullAllowed]
|
||||
[TV (15,0), NoWatch, Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
|
||||
[TV (15, 0), NoWatch, Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)]
|
||||
[Export ("contentSource", ArgumentSemantic.Strong)]
|
||||
AVPictureInPictureControllerContentSource ContentSource { get; set; }
|
||||
}
|
||||
|
||||
interface IAVPictureInPictureControllerDelegate {}
|
||||
|
||||
[iOS (9,0), Mac (10,15), TV (14,0)]
|
||||
interface IAVPictureInPictureControllerDelegate { }
|
||||
|
||||
[iOS (9, 0), Mac (10, 15), TV (14, 0)]
|
||||
[Protocol, Model]
|
||||
[BaseType (typeof(NSObject))]
|
||||
interface AVPictureInPictureControllerDelegate
|
||||
{
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface AVPictureInPictureControllerDelegate {
|
||||
[Export ("pictureInPictureControllerWillStartPictureInPicture:")]
|
||||
void WillStartPictureInPicture (AVPictureInPictureController pictureInPictureController);
|
||||
|
||||
|
||||
[Export ("pictureInPictureControllerDidStartPictureInPicture:")]
|
||||
void DidStartPictureInPicture (AVPictureInPictureController pictureInPictureController);
|
||||
|
||||
|
||||
[Export ("pictureInPictureController:failedToStartPictureInPictureWithError:")]
|
||||
void FailedToStartPictureInPicture (AVPictureInPictureController pictureInPictureController, NSError error);
|
||||
|
||||
|
||||
[Export ("pictureInPictureControllerWillStopPictureInPicture:")]
|
||||
void WillStopPictureInPicture (AVPictureInPictureController pictureInPictureController);
|
||||
|
||||
|
||||
[Export ("pictureInPictureControllerDidStopPictureInPicture:")]
|
||||
void DidStopPictureInPicture (AVPictureInPictureController pictureInPictureController);
|
||||
|
||||
|
||||
[Export ("pictureInPictureController:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:")]
|
||||
void RestoreUserInterfaceForPictureInPicture (AVPictureInPictureController pictureInPictureController, Action<bool> completionHandler);
|
||||
}
|
||||
|
||||
[NoMac]
|
||||
[iOS (8,0)]
|
||||
[iOS (8, 0)]
|
||||
[BaseType (typeof (UIViewController))]
|
||||
interface AVPlayerViewController {
|
||||
[Export ("initWithNibName:bundle:")]
|
||||
|
@ -194,27 +192,27 @@ namespace AVKit {
|
|||
[Export ("contentOverlayView")]
|
||||
UIView ContentOverlayView { get; }
|
||||
|
||||
[TV (11,0)]
|
||||
[TV (11, 0)]
|
||||
[NoiOS]
|
||||
[Export ("unobscuredContentGuide")]
|
||||
UILayoutGuide UnobscuredContentGuide { get; }
|
||||
|
||||
[TV (14, 0)]
|
||||
[iOS (9,0)]
|
||||
[iOS (9, 0)]
|
||||
[Export ("allowsPictureInPicturePlayback")]
|
||||
bool AllowsPictureInPicturePlayback { get; set; }
|
||||
|
||||
[NoTV]
|
||||
[iOS (10,0)]
|
||||
[iOS (10, 0)]
|
||||
[Export ("updatesNowPlayingInfoCenter")]
|
||||
bool UpdatesNowPlayingInfoCenter { get; set; }
|
||||
|
||||
[iOS (11,0)]
|
||||
[iOS (11, 0)]
|
||||
[NoTV]
|
||||
[Export ("entersFullScreenWhenPlaybackBegins")]
|
||||
bool EntersFullScreenWhenPlaybackBegins { get; set; }
|
||||
|
||||
[iOS (11,0)]
|
||||
[iOS (11, 0)]
|
||||
[NoTV]
|
||||
[Export ("exitsFullScreenWhenPlaybackEnds")]
|
||||
bool ExitsFullScreenWhenPlaybackEnds { get; set; }
|
||||
|
@ -224,26 +222,28 @@ namespace AVKit {
|
|||
[Protocolize]
|
||||
AVPlayerViewControllerDelegate Delegate { get; set; }
|
||||
|
||||
[iOS (9,0)]
|
||||
[iOS (9, 0)]
|
||||
[NullAllowed, Export ("delegate", ArgumentSemantic.Weak)]
|
||||
NSObject WeakDelegate { get; set; }
|
||||
|
||||
[NoMac]
|
||||
[TV (9,0), iOS (14, 0)]
|
||||
[TV (9, 0), iOS (14, 0)]
|
||||
[Export ("requiresLinearPlayback")]
|
||||
bool RequiresLinearPlayback { get; set; }
|
||||
|
||||
#region AVPlayerViewControllerSubtitleOptions
|
||||
[NoiOS][NoMac]
|
||||
[TV (9,0)]
|
||||
#region AVPlayerViewControllerSubtitleOptions
|
||||
[NoiOS]
|
||||
[NoMac]
|
||||
[TV (9, 0)]
|
||||
[NullAllowed, Export ("allowedSubtitleOptionLanguages", ArgumentSemantic.Copy)]
|
||||
string[] AllowedSubtitleOptionLanguages { get; set; }
|
||||
string [] AllowedSubtitleOptionLanguages { get; set; }
|
||||
|
||||
[NoiOS][NoMac]
|
||||
[TV (9,0)]
|
||||
[NoiOS]
|
||||
[NoMac]
|
||||
[TV (9, 0)]
|
||||
[Export ("requiresFullSubtitles")]
|
||||
bool RequiresFullSubtitles { get; set; }
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
[NullAllowed]
|
||||
[NoiOS, TV (10, 0), NoWatch, NoMac]
|
||||
|
@ -278,15 +278,15 @@ namespace AVKit {
|
|||
[Export ("customInfoViewController", ArgumentSemantic.Assign)]
|
||||
UIViewController CustomInfoViewController { get; set; }
|
||||
|
||||
[NoiOS, TV (11,2), NoMac, NoWatch]
|
||||
[NoiOS, TV (11, 2), NoMac, NoWatch]
|
||||
[Export ("appliesPreferredDisplayCriteriaAutomatically")]
|
||||
bool AppliesPreferredDisplayCriteriaAutomatically { get; set; }
|
||||
|
||||
[iOS (9,0), TV (13,0), NoWatch]
|
||||
|
||||
[iOS (9, 0), TV (13, 0), NoWatch]
|
||||
[NullAllowed, Export ("pixelBufferAttributes", ArgumentSemantic.Copy)]
|
||||
NSDictionary<NSString, NSObject> PixelBufferAttributes { get; set; }
|
||||
|
||||
[NoiOS, TV (13,0), NoWatch]
|
||||
|
||||
[NoiOS, TV (13, 0), NoWatch]
|
||||
[NullAllowed, Export ("customOverlayViewController", ArgumentSemantic.Strong)]
|
||||
UIViewController CustomOverlayViewController { get; set; }
|
||||
|
||||
|
@ -294,191 +294,202 @@ namespace AVKit {
|
|||
[Export ("showsTimecodes")]
|
||||
bool ShowsTimecodes { get; set; }
|
||||
|
||||
[iOS (14,2)]
|
||||
[NoWatch, NoTV, MacCatalyst (15,0)]
|
||||
[iOS (14, 2)]
|
||||
[NoWatch, NoTV, MacCatalyst (15, 0)]
|
||||
[Export ("canStartPictureInPictureAutomaticallyFromInline")]
|
||||
bool CanStartPictureInPictureAutomaticallyFromInline { get; set; }
|
||||
|
||||
[TV (15,0), NoWatch, NoMac, NoiOS, NoMacCatalyst]
|
||||
[TV (15, 0), NoWatch, NoMac, NoiOS, NoMacCatalyst]
|
||||
[Export ("contextualActions", ArgumentSemantic.Copy)]
|
||||
UIAction[] ContextualActions { get; set; }
|
||||
UIAction [] ContextualActions { get; set; }
|
||||
|
||||
[TV (15,0), NoWatch, NoMac, NoiOS, NoMacCatalyst]
|
||||
[TV (15, 0), NoWatch, NoMac, NoiOS, NoMacCatalyst]
|
||||
[Export ("infoViewActions", ArgumentSemantic.Copy)]
|
||||
UIAction[] InfoViewActions { get; set; }
|
||||
UIAction [] InfoViewActions { get; set; }
|
||||
|
||||
[TV (15,0), NoWatch, NoMac, NoiOS, NoMacCatalyst]
|
||||
[TV (15, 0), NoWatch, NoMac, NoiOS, NoMacCatalyst]
|
||||
[Export ("customInfoViewControllers", ArgumentSemantic.Copy)]
|
||||
UIViewController[] CustomInfoViewControllers { get; set; }
|
||||
UIViewController [] CustomInfoViewControllers { get; set; }
|
||||
|
||||
[TV (15,0), NoWatch, NoMac, NoiOS, NoMacCatalyst]
|
||||
[TV (15, 0), NoWatch, NoMac, NoiOS, NoMacCatalyst]
|
||||
[Export ("transportBarCustomMenuItems", ArgumentSemantic.Copy)]
|
||||
UIMenuElement[] TransportBarCustomMenuItems { get; set; }
|
||||
UIMenuElement [] TransportBarCustomMenuItems { get; set; }
|
||||
|
||||
[TV (15,0), NoWatch, NoMac, NoiOS, NoMacCatalyst]
|
||||
[TV (15, 0), NoWatch, NoMac, NoiOS, NoMacCatalyst]
|
||||
[Export ("transportBarIncludesTitleView")]
|
||||
bool TransportBarIncludesTitleView { get; set; }
|
||||
|
||||
[NoWatch, NoTV, MacCatalyst (16,0), NoMac, iOS (16,0)]
|
||||
[NoWatch, NoTV, MacCatalyst (16, 0), NoMac, iOS (16, 0)]
|
||||
[Export ("allowsVideoFrameAnalysis")]
|
||||
bool AllowsVideoFrameAnalysis { get; set; }
|
||||
|
||||
[iOS (16,0), MacCatalyst (16,0), NoMac, NoWatch, TV (16,0)]
|
||||
[iOS (16, 0), MacCatalyst (16, 0), NoMac, NoWatch, TV (16, 0)]
|
||||
[Export ("speeds", ArgumentSemantic.Copy)]
|
||||
AVPlaybackSpeed[] Speeds { get; set; }
|
||||
AVPlaybackSpeed [] Speeds { get; set; }
|
||||
|
||||
[iOS (16,0), MacCatalyst (16,0), NoMac, NoWatch, TV (16,0)]
|
||||
[iOS (16, 0), MacCatalyst (16, 0), NoMac, NoWatch, TV (16, 0)]
|
||||
[NullAllowed, Export ("selectedSpeed")]
|
||||
AVPlaybackSpeed SelectedSpeed { get; }
|
||||
|
||||
[iOS (16,0), MacCatalyst (16,0), NoMac, NoWatch, TV (16,0)]
|
||||
[iOS (16, 0), MacCatalyst (16, 0), NoMac, NoWatch, TV (16, 0)]
|
||||
[Export ("selectSpeed:")]
|
||||
void SelectSpeed (AVPlaybackSpeed speed);
|
||||
}
|
||||
|
||||
[NoMac]
|
||||
[Protocol, Model]
|
||||
[BaseType (typeof(NSObject))]
|
||||
interface AVPlayerViewControllerDelegate
|
||||
{
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface AVPlayerViewControllerDelegate {
|
||||
[TV (14, 0)]
|
||||
[Export ("playerViewControllerWillStartPictureInPicture:")]
|
||||
void WillStartPictureInPicture (AVPlayerViewController playerViewController);
|
||||
|
||||
|
||||
[TV (14, 0)]
|
||||
[Export ("playerViewControllerDidStartPictureInPicture:")]
|
||||
void DidStartPictureInPicture (AVPlayerViewController playerViewController);
|
||||
|
||||
|
||||
[TV (14, 0)]
|
||||
[Export ("playerViewController:failedToStartPictureInPictureWithError:")]
|
||||
void FailedToStartPictureInPicture (AVPlayerViewController playerViewController, NSError error);
|
||||
|
||||
|
||||
[TV (14, 0)]
|
||||
[Export ("playerViewControllerWillStopPictureInPicture:")]
|
||||
void WillStopPictureInPicture (AVPlayerViewController playerViewController);
|
||||
|
||||
|
||||
[TV (14, 0)]
|
||||
[Export ("playerViewControllerDidStopPictureInPicture:")]
|
||||
void DidStopPictureInPicture (AVPlayerViewController playerViewController);
|
||||
|
||||
|
||||
[TV (14, 0)]
|
||||
[Export ("playerViewControllerShouldAutomaticallyDismissAtPictureInPictureStart:")]
|
||||
bool ShouldAutomaticallyDismissAtPictureInPictureStart (AVPlayerViewController playerViewController);
|
||||
|
||||
|
||||
[TV (14, 0)]
|
||||
[Export ("playerViewController:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:")]
|
||||
void RestoreUserInterfaceForPictureInPicture (AVPlayerViewController playerViewController, Action<bool> completionHandler);
|
||||
|
||||
[iOS (16,0)][NoMac][NoMacCatalyst][NoWatch]
|
||||
[TV (9,0)]
|
||||
[iOS (16, 0)]
|
||||
[NoMac]
|
||||
[NoMacCatalyst]
|
||||
[NoWatch]
|
||||
[TV (9, 0)]
|
||||
[Export ("playerViewController:didPresentInterstitialTimeRange:")]
|
||||
void DidPresentInterstitialTimeRange (AVPlayerViewController playerViewController, AVInterstitialTimeRange interstitial);
|
||||
|
||||
[NoiOS][NoMac]
|
||||
[TV (11,0)]
|
||||
[NoiOS]
|
||||
[NoMac]
|
||||
[TV (11, 0)]
|
||||
[Export ("playerViewControllerShouldDismiss:")]
|
||||
bool ShouldDismiss (AVPlayerViewController playerViewController);
|
||||
|
||||
[NoiOS][NoMac]
|
||||
[TV (11,0)]
|
||||
[NoiOS]
|
||||
[NoMac]
|
||||
[TV (11, 0)]
|
||||
[Export ("playerViewControllerWillBeginDismissalTransition:")]
|
||||
void WillBeginDismissalTransition (AVPlayerViewController playerViewController);
|
||||
|
||||
[NoiOS][NoMac]
|
||||
[TV (11,0)]
|
||||
[NoiOS]
|
||||
[NoMac]
|
||||
[TV (11, 0)]
|
||||
[Export ("playerViewControllerDidEndDismissalTransition:")]
|
||||
void DidEndDismissalTransition (AVPlayerViewController playerViewController);
|
||||
|
||||
[iOS (16,0)][NoMac][NoWatch][NoMacCatalyst]
|
||||
[TV (9,0)]
|
||||
[iOS (16, 0)]
|
||||
[NoMac]
|
||||
[NoWatch]
|
||||
[NoMacCatalyst]
|
||||
[TV (9, 0)]
|
||||
[Export ("playerViewController:willPresentInterstitialTimeRange:")]
|
||||
void WillPresentInterstitialTimeRange (AVPlayerViewController playerViewController, AVInterstitialTimeRange interstitial);
|
||||
|
||||
[NoiOS][NoMac]
|
||||
[TV (9,0)]
|
||||
[NoiOS]
|
||||
[NoMac]
|
||||
[TV (9, 0)]
|
||||
[Export ("playerViewController:willResumePlaybackAfterUserNavigatedFromTime:toTime:")]
|
||||
void WillResumePlaybackAfterUserNavigatedFromTime (AVPlayerViewController playerViewController, CMTime oldTime, CMTime targetTime);
|
||||
|
||||
[NoiOS][NoMac]
|
||||
[TV (9,0)]
|
||||
[NoiOS]
|
||||
[NoMac]
|
||||
[TV (9, 0)]
|
||||
[Export ("playerViewController:didSelectMediaSelectionOption:inMediaSelectionGroup:")]
|
||||
void DidSelectMediaSelectionOption (AVPlayerViewController playerViewController, [NullAllowed] AVMediaSelectionOption mediaSelectionOption, AVMediaSelectionGroup mediaSelectionGroup);
|
||||
|
||||
[NoiOS][NoMac]
|
||||
[TV (9,0)]
|
||||
[NoiOS]
|
||||
[NoMac]
|
||||
[TV (9, 0)]
|
||||
[Export ("playerViewController:didSelectExternalSubtitleOptionLanguage:")]
|
||||
void DidSelectExternalSubtitleOptionLanguage (AVPlayerViewController playerViewController, string language);
|
||||
|
||||
[NoiOS, TV (10,0), NoWatch, NoMac]
|
||||
[NoiOS, TV (10, 0), NoWatch, NoMac]
|
||||
[Export ("playerViewController:timeToSeekAfterUserNavigatedFromTime:toTime:")]
|
||||
CMTime GetTimeToSeekAfterUserNavigated (AVPlayerViewController playerViewController, CMTime oldTime, CMTime targetTime);
|
||||
|
||||
[NoiOS, TV (10,0), NoWatch, NoMac]
|
||||
[NoiOS, TV (10, 0), NoWatch, NoMac]
|
||||
[Export ("skipToNextItemForPlayerViewController:")]
|
||||
void SkipToNextItem (AVPlayerViewController playerViewController);
|
||||
|
||||
[NoiOS, TV (10,0), NoWatch, NoMac]
|
||||
[NoiOS, TV (10, 0), NoWatch, NoMac]
|
||||
[Export ("skipToPreviousItemForPlayerViewController:")]
|
||||
void SkipToPreviousItem (AVPlayerViewController playerViewController);
|
||||
|
||||
[NoiOS, TV (10,0), NoWatch, NoMac]
|
||||
[NoiOS, TV (10, 0), NoWatch, NoMac]
|
||||
[Export ("playerViewController:shouldPresentContentProposal:")]
|
||||
bool ShouldPresentContentProposal (AVPlayerViewController playerViewController, AVContentProposal proposal);
|
||||
|
||||
[NoiOS, TV (10,0), NoWatch, NoMac]
|
||||
[NoiOS, TV (10, 0), NoWatch, NoMac]
|
||||
[Export ("playerViewController:didAcceptContentProposal:")]
|
||||
void DidAcceptContentProposal (AVPlayerViewController playerViewController, AVContentProposal proposal);
|
||||
|
||||
[NoiOS, TV (10,0), NoWatch, NoMac]
|
||||
[NoiOS, TV (10, 0), NoWatch, NoMac]
|
||||
[Export ("playerViewController:didRejectContentProposal:")]
|
||||
void DidRejectContentProposal (AVPlayerViewController playerViewController, AVContentProposal proposal);
|
||||
|
||||
[NoiOS, TV (11,0), NoWatch, NoMac]
|
||||
[NoiOS, TV (11, 0), NoWatch, NoMac]
|
||||
[Export ("playerViewController:willTransitionToVisibilityOfTransportBar:withAnimationCoordinator:")]
|
||||
void WillTransitionToVisibilityOfTransportBar (AVPlayerViewController playerViewController, bool visible, IAVPlayerViewControllerAnimationCoordinator coordinator);
|
||||
|
||||
[iOS (13,0), NoTV, NoWatch, NoMac]
|
||||
|
||||
[iOS (13, 0), NoTV, NoWatch, NoMac]
|
||||
[Export ("playerViewController:willBeginFullScreenPresentationWithAnimationCoordinator:"), EventArgs ("AVPlayerViewFullScreenPresentationWillBegin")]
|
||||
void WillBeginFullScreenPresentation (AVPlayerViewController playerViewController, IUIViewControllerTransitionCoordinator coordinator);
|
||||
|
||||
[iOS (13,0), NoTV, NoWatch, NoMac]
|
||||
|
||||
[iOS (13, 0), NoTV, NoWatch, NoMac]
|
||||
[Export ("playerViewController:willEndFullScreenPresentationWithAnimationCoordinator:"), EventArgs ("AVPlayerViewFullScreenPresentationWillEnd")]
|
||||
void WillEndFullScreenPresentation (AVPlayerViewController playerViewController, IUIViewControllerTransitionCoordinator coordinator);
|
||||
|
||||
[TV (13,0), NoiOS, NoWatch, NoMac]
|
||||
|
||||
[TV (13, 0), NoiOS, NoWatch, NoMac]
|
||||
[Export ("nextChannelInterstitialViewControllerForPlayerViewController:")]
|
||||
UIViewController GetNextChannelInterstitialViewController (AVPlayerViewController playerViewController);
|
||||
|
||||
[TV (13,0), NoiOS, NoWatch, NoMac]
|
||||
|
||||
[TV (13, 0), NoiOS, NoWatch, NoMac]
|
||||
[Export ("playerViewController:skipToNextChannel:"), EventArgs ("AVPlayerViewSkipToNextChannel")]
|
||||
void SkipToNextChannel (AVPlayerViewController playerViewController, Action<bool> completion);
|
||||
|
||||
[TV (13,0), NoiOS, NoWatch, NoMac]
|
||||
|
||||
[TV (13, 0), NoiOS, NoWatch, NoMac]
|
||||
[Export ("playerViewController:skipToPreviousChannel:"), EventArgs ("AVPlayerViewSkipToPreviousChannel")]
|
||||
void SkipToPreviousChannel (AVPlayerViewController playerViewController, Action<bool> completion);
|
||||
|
||||
[TV (13,0), NoiOS, NoWatch, NoMac]
|
||||
|
||||
[TV (13, 0), NoiOS, NoWatch, NoMac]
|
||||
[Export ("previousChannelInterstitialViewControllerForPlayerViewController:")]
|
||||
UIViewController GetPreviousChannelInterstitialViewController (AVPlayerViewController playerViewController);
|
||||
|
||||
[iOS (15,0), NoTV, NoMac, NoWatch, MacCatalyst (15,0)]
|
||||
[iOS (15, 0), NoTV, NoMac, NoWatch, MacCatalyst (15, 0)]
|
||||
[Export ("playerViewController:restoreUserInterfaceForFullScreenExitWithCompletionHandler:")]
|
||||
void RestoreUserInterfaceForFullScreenExit (AVPlayerViewController playerViewController, Action<bool> completionHandler);
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (13,0)]
|
||||
[NoWatch, NoTV, NoMac, iOS (13, 0)]
|
||||
[Category]
|
||||
[BaseType (typeof(AVAudioSession))]
|
||||
[BaseType (typeof (AVAudioSession))]
|
||||
interface AVAudioSession_AVPlaybackRouteSelecting {
|
||||
|
||||
[Async (ResultTypeName="PreparingRouteSelectionForPlayback")]
|
||||
[Async (ResultTypeName = "PreparingRouteSelectionForPlayback")]
|
||||
[Export ("prepareRouteSelectionForPlaybackWithCompletionHandler:")]
|
||||
void PrepareRouteSelectionForPlayback (Action<bool, AVAudioSessionRouteSelection> completionHandler);
|
||||
}
|
||||
|
||||
interface IAVPlayerViewControllerAnimationCoordinator { }
|
||||
|
||||
[NoiOS, TV (11,0), NoWatch, NoMac]
|
||||
[NoiOS, TV (11, 0), NoWatch, NoMac]
|
||||
[Protocol]
|
||||
interface AVPlayerViewControllerAnimationCoordinator {
|
||||
|
||||
|
@ -488,7 +499,7 @@ namespace AVKit {
|
|||
}
|
||||
|
||||
[NoiOS, NoWatch, NoTV]
|
||||
[Mac (10,9)]
|
||||
[Mac (10, 9)]
|
||||
[BaseType (typeof (NSView))]
|
||||
interface AVPlayerView {
|
||||
[Export ("initWithFrame:")]
|
||||
|
@ -501,24 +512,24 @@ namespace AVKit {
|
|||
[Export ("controlsStyle")]
|
||||
AVPlayerViewControlsStyle ControlsStyle { get; set; }
|
||||
|
||||
[Mac (10,10)]
|
||||
[Mac (10, 10)]
|
||||
[Export ("videoGravity")]
|
||||
string VideoGravity { get; set; }
|
||||
|
||||
[Mac (10,10)]
|
||||
[Mac (10, 10)]
|
||||
[Export ("readyForDisplay")]
|
||||
bool ReadyForDisplay { [Bind ("isReadyForDisplay")] get; }
|
||||
|
||||
[Mac (10,10)]
|
||||
[Mac (10, 10)]
|
||||
[Export ("videoBounds")]
|
||||
CGRect VideoBounds { get; }
|
||||
|
||||
[NullAllowed]
|
||||
[Mac (10,10)]
|
||||
[Mac (10, 10)]
|
||||
[Export ("contentOverlayView")]
|
||||
NSView ContentOverlayView { get; }
|
||||
|
||||
[Mac (10,13)]
|
||||
[Mac (10, 13)]
|
||||
[Export ("updatesNowPlayingInfoCenter")]
|
||||
bool UpdatesNowPlayingInfoCenter { get; set; }
|
||||
|
||||
|
@ -544,42 +555,42 @@ namespace AVKit {
|
|||
|
||||
[Export ("showsSharingServiceButton")]
|
||||
bool ShowsSharingServiceButton { get; set; }
|
||||
|
||||
[Mac (10,15)]
|
||||
|
||||
[Mac (10, 15)]
|
||||
[Export ("allowsPictureInPicturePlayback")]
|
||||
bool AllowsPictureInPicturePlayback { get; set; }
|
||||
|
||||
[Mac (10,15)]
|
||||
|
||||
[Mac (10, 15)]
|
||||
[Wrap ("WeakPictureInPictureDelegate")]
|
||||
[NullAllowed]
|
||||
IAVPlayerViewPictureInPictureDelegate PictureInPictureDelegate { get; set; }
|
||||
|
||||
[Mac (10,15)]
|
||||
|
||||
[Mac (10, 15)]
|
||||
[NullAllowed, Export ("pictureInPictureDelegate", ArgumentSemantic.Weak)]
|
||||
NSObject WeakPictureInPictureDelegate { get; set; }
|
||||
|
||||
[Mac (10,15)]
|
||||
|
||||
[Mac (10, 15)]
|
||||
[Export ("showsTimecodes")]
|
||||
bool ShowsTimecodes { get; set; }
|
||||
|
||||
[Mac (12,0)]
|
||||
[Mac (12, 0)]
|
||||
[Wrap ("WeakDelegate")]
|
||||
[Protocolize]
|
||||
AVPlayerViewDelegate Delegate { get; set; }
|
||||
|
||||
[Mac (12,0)]
|
||||
[Mac (12, 0)]
|
||||
[NullAllowed, Export ("delegate", ArgumentSemantic.Weak)]
|
||||
NSObject WeakDelegate { get; set; }
|
||||
|
||||
[Mac (13,0), NoWatch, NoiOS, NoMacCatalyst, NoTV]
|
||||
[Mac (13, 0), NoWatch, NoiOS, NoMacCatalyst, NoTV]
|
||||
[Export ("speeds", ArgumentSemantic.Copy)]
|
||||
AVPlaybackSpeed[] Speeds { get; set; }
|
||||
AVPlaybackSpeed [] Speeds { get; set; }
|
||||
|
||||
[Mac (13,0), NoWatch, NoiOS, NoMacCatalyst, NoTV]
|
||||
[Mac (13, 0), NoWatch, NoiOS, NoMacCatalyst, NoTV]
|
||||
[NullAllowed, Export ("selectedSpeed")]
|
||||
AVPlaybackSpeed SelectedSpeed { get; }
|
||||
|
||||
[Mac (13,0), NoWatch, NoiOS, NoMacCatalyst, NoTV]
|
||||
[Mac (13, 0), NoWatch, NoiOS, NoMacCatalyst, NoTV]
|
||||
[Export ("selectSpeed:")]
|
||||
void SelectSpeed (AVPlaybackSpeed speed);
|
||||
|
||||
|
@ -587,29 +598,29 @@ namespace AVKit {
|
|||
[Export ("allowsVideoFrameAnalysis")]
|
||||
bool AllowsVideoFrameAnalysis { get; set; }
|
||||
|
||||
[Mac (13,0), NoWatch, NoiOS, NoMacCatalyst, NoTV]
|
||||
[Mac (13, 0), NoWatch, NoiOS, NoMacCatalyst, NoTV]
|
||||
[Export ("allowsMagnification")]
|
||||
bool AllowsMagnification { get; set; }
|
||||
|
||||
[Mac (13,0), NoWatch, NoiOS, NoMacCatalyst, NoTV]
|
||||
[Mac (13, 0), NoWatch, NoiOS, NoMacCatalyst, NoTV]
|
||||
[Export ("magnification")]
|
||||
nfloat Magnification { get; set; }
|
||||
|
||||
[Mac (13,0), NoWatch, NoiOS, NoMacCatalyst, NoTV]
|
||||
[Mac (13, 0), NoWatch, NoiOS, NoMacCatalyst, NoTV]
|
||||
[Export ("setMagnification:centeredAtPoint:")]
|
||||
void SetMagnification (nfloat magnification, CGPoint centeredAtPoint);
|
||||
}
|
||||
|
||||
interface IAVPlayerViewPictureInPictureDelegate {}
|
||||
interface IAVPlayerViewPictureInPictureDelegate { }
|
||||
|
||||
[NoiOS, NoWatch, NoTV]
|
||||
[Mac (10,15)]
|
||||
[Mac (10, 15)]
|
||||
#if NET
|
||||
[Protocol, Model]
|
||||
#else
|
||||
[Protocol, Model (AutoGeneratedName = true)]
|
||||
#endif
|
||||
[BaseType (typeof(NSObject))]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface AVPlayerViewPictureInPictureDelegate {
|
||||
|
||||
[Export ("playerViewWillStartPictureInPicture:")]
|
||||
|
@ -635,7 +646,7 @@ namespace AVKit {
|
|||
}
|
||||
|
||||
[NoiOS, NoWatch, NoTV]
|
||||
[Mac (10,10)]
|
||||
[Mac (10, 10)]
|
||||
[BaseType (typeof (NSView))]
|
||||
interface AVCaptureView {
|
||||
[Export ("initWithFrame:")]
|
||||
|
@ -665,7 +676,7 @@ namespace AVKit {
|
|||
|
||||
[NoiOS, NoWatch, NoTV]
|
||||
[Protocol, Model]
|
||||
[Mac (10,10)]
|
||||
[Mac (10, 10)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface AVCaptureViewDelegate {
|
||||
[Abstract]
|
||||
|
@ -673,8 +684,11 @@ namespace AVKit {
|
|||
void StartRecording (AVCaptureView captureView, AVCaptureFileOutput fileOutput);
|
||||
}
|
||||
|
||||
[iOS (16,0)][NoMac][NoMacCatalyst][NoWatch]
|
||||
[TV (9,0)]
|
||||
[iOS (16, 0)]
|
||||
[NoMac]
|
||||
[NoMacCatalyst]
|
||||
[NoWatch]
|
||||
[TV (9, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface AVInterstitialTimeRange : NSCopying, NSSecureCoding {
|
||||
[Export ("initWithTimeRange:")]
|
||||
|
@ -685,38 +699,38 @@ namespace AVKit {
|
|||
CMTimeRange TimeRange { get; }
|
||||
}
|
||||
|
||||
[NoiOS][NoMac]
|
||||
[TV (9,0)]
|
||||
[NoiOS]
|
||||
[NoMac]
|
||||
[TV (9, 0)]
|
||||
[DisableDefaultCtor]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface AVNavigationMarkersGroup {
|
||||
[Export ("initWithTitle:timedNavigationMarkers:")]
|
||||
[DesignatedInitializer]
|
||||
NativeHandle Constructor ([NullAllowed] string title, AVTimedMetadataGroup[] navigationMarkers);
|
||||
NativeHandle Constructor ([NullAllowed] string title, AVTimedMetadataGroup [] navigationMarkers);
|
||||
|
||||
[Export ("initWithTitle:dateRangeNavigationMarkers:")]
|
||||
[DesignatedInitializer]
|
||||
NativeHandle Constructor ([NullAllowed] string title, AVDateRangeMetadataGroup[] navigationMarkers);
|
||||
NativeHandle Constructor ([NullAllowed] string title, AVDateRangeMetadataGroup [] navigationMarkers);
|
||||
|
||||
[NullAllowed, Export ("title")]
|
||||
string Title { get; }
|
||||
|
||||
[NullAllowed, Export ("timedNavigationMarkers")]
|
||||
AVTimedMetadataGroup[] TimedNavigationMarkers { get; }
|
||||
AVTimedMetadataGroup [] TimedNavigationMarkers { get; }
|
||||
|
||||
[NullAllowed, Export ("dateRangeNavigationMarkers")]
|
||||
AVDateRangeMetadataGroup[] DateRangeNavigationMarkers { get; }
|
||||
AVDateRangeMetadataGroup [] DateRangeNavigationMarkers { get; }
|
||||
}
|
||||
|
||||
|
||||
[NoMac]
|
||||
[NoiOS, TV (10,0), NoWatch]
|
||||
[BaseType (typeof(UIViewController))]
|
||||
interface AVContentProposalViewController
|
||||
{
|
||||
[NoiOS, TV (10, 0), NoWatch]
|
||||
[BaseType (typeof (UIViewController))]
|
||||
interface AVContentProposalViewController {
|
||||
[Export ("initWithNibName:bundle:")]
|
||||
[PostGet ("NibBundle")]
|
||||
NativeHandle Constructor ([NullAllowed] string nibName, [NullAllowed] NSBundle bundle);
|
||||
|
||||
|
||||
[NullAllowed, Export ("contentProposal")]
|
||||
AVContentProposal ContentProposal { get; }
|
||||
|
||||
|
@ -738,7 +752,7 @@ namespace AVKit {
|
|||
|
||||
[Static]
|
||||
[NoMac]
|
||||
[NoiOS, TV (10,1), NoWatch]
|
||||
[NoiOS, TV (10, 1), NoWatch]
|
||||
interface AVKitMetadataIdentifier {
|
||||
|
||||
[Field ("AVKitMetadataIdentifierExternalContentIdentifier")]
|
||||
|
@ -748,29 +762,29 @@ namespace AVKit {
|
|||
[Field ("AVKitMetadataIdentifierPlaybackProgress")]
|
||||
NSString PlaybackProgress { get; }
|
||||
|
||||
[TV (11,0)]
|
||||
[TV (11, 0)]
|
||||
[Field ("AVKitMetadataIdentifierExactStartDate")]
|
||||
NSString ExactStartDate { get; }
|
||||
|
||||
[TV (11,0)]
|
||||
[TV (11, 0)]
|
||||
[Field ("AVKitMetadataIdentifierApproximateStartDate")]
|
||||
NSString ApproximateStartDate { get; }
|
||||
|
||||
[TV (11,0)]
|
||||
[TV (11, 0)]
|
||||
[Field ("AVKitMetadataIdentifierExactEndDate")]
|
||||
NSString ExactEndDate { get; }
|
||||
|
||||
[TV (11,0)]
|
||||
[TV (11, 0)]
|
||||
[Field ("AVKitMetadataIdentifierApproximateEndDate")]
|
||||
NSString ApproximateEndDate { get; }
|
||||
|
||||
[TV (11,0)]
|
||||
[TV (11, 0)]
|
||||
[Field ("AVKitMetadataIdentifierServiceIdentifier")]
|
||||
NSString ServiceIdentifier { get; }
|
||||
}
|
||||
|
||||
[Mac (10,15)]
|
||||
[TV (11,0), iOS (11,0)]
|
||||
[Mac (10, 15)]
|
||||
[TV (11, 0), iOS (11, 0)]
|
||||
[BaseType (typeof (UIView))]
|
||||
interface AVRoutePickerView {
|
||||
|
||||
|
@ -780,7 +794,7 @@ namespace AVKit {
|
|||
[Wrap ("WeakDelegate", IsVirtual = true)]
|
||||
[NullAllowed]
|
||||
IAVRoutePickerViewDelegate Delegate { get; set; }
|
||||
|
||||
|
||||
[NullAllowed, Export ("delegate", ArgumentSemantic.Weak)]
|
||||
NSObject WeakDelegate { get; set; }
|
||||
|
||||
|
@ -789,12 +803,12 @@ namespace AVKit {
|
|||
UIColor ActiveTintColor { get; set; }
|
||||
|
||||
[NoiOS, NoMac, NoWatch, NoMacCatalyst]
|
||||
[TV (11,0)]
|
||||
[TV (11, 0)]
|
||||
[Export ("routePickerButtonStyle", ArgumentSemantic.Assign)]
|
||||
AVRoutePickerViewButtonStyle RoutePickerButtonStyle { get; set; }
|
||||
|
||||
[NoMac]
|
||||
[TV (13,0), iOS (13,0)]
|
||||
[TV (13, 0), iOS (13, 0)]
|
||||
[Export ("prioritizesVideoDevices")]
|
||||
bool PrioritizesVideoDevices { get; set; }
|
||||
|
||||
|
@ -814,13 +828,13 @@ namespace AVKit {
|
|||
[NullAllowed, Export ("player", ArgumentSemantic.Assign)]
|
||||
AVPlayer Player { get; set; }
|
||||
|
||||
[NoTV, NoMac, iOS (16,0), MacCatalyst (16,0), NoWatch]
|
||||
[NoTV, NoMac, iOS (16, 0), MacCatalyst (16, 0), NoWatch]
|
||||
[NullAllowed, Export ("customRoutingController", ArgumentSemantic.Assign)]
|
||||
AVCustomRoutingController CustomRoutingController { get; set; }
|
||||
}
|
||||
|
||||
[NoiOS, NoMac, NoWatch, NoMacCatalyst]
|
||||
[TV (11,0)]
|
||||
[TV (11, 0)]
|
||||
[Native]
|
||||
public enum AVRoutePickerViewButtonStyle : long {
|
||||
System,
|
||||
|
@ -830,8 +844,8 @@ namespace AVKit {
|
|||
|
||||
interface IAVRoutePickerViewDelegate { }
|
||||
|
||||
[TV (11,0), iOS (11,0)]
|
||||
[Mac (10,15)]
|
||||
[TV (11, 0), iOS (11, 0)]
|
||||
[Mac (10, 15)]
|
||||
[Protocol, Model]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface AVRoutePickerViewDelegate {
|
||||
|
@ -843,22 +857,22 @@ namespace AVKit {
|
|||
void DidEndPresentingRoutes (AVRoutePickerView routePickerView);
|
||||
}
|
||||
|
||||
[TV (11,2), NoiOS, NoMac, NoWatch]
|
||||
[TV (11, 2), NoiOS, NoMac, NoWatch]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface AVDisplayManager {
|
||||
|
||||
[TV (11,3)]
|
||||
[TV (11, 3)]
|
||||
[Field ("AVDisplayManagerModeSwitchStartNotification")]
|
||||
[Notification]
|
||||
NSString ModeSwitchStartNotification { get; }
|
||||
|
||||
[TV (11,3)]
|
||||
[TV (11, 3)]
|
||||
[Field ("AVDisplayManagerModeSwitchEndNotification")]
|
||||
[Notification]
|
||||
NSString ModeSwitchEndNotification { get; }
|
||||
|
||||
[TV (11,3)]
|
||||
[TV (11, 3)]
|
||||
[Field ("AVDisplayManagerModeSwitchSettingsChangedNotification")]
|
||||
[Notification]
|
||||
NSString ModeSwitchSettingsChangedNotification { get; }
|
||||
|
@ -869,12 +883,12 @@ namespace AVKit {
|
|||
[Export ("displayModeSwitchInProgress")]
|
||||
bool DisplayModeSwitchInProgress { [Bind ("isDisplayModeSwitchInProgress")] get; }
|
||||
|
||||
[TV (11,3)]
|
||||
[TV (11, 3)]
|
||||
[Export ("displayCriteriaMatchingEnabled")]
|
||||
bool DisplayCriteriaMatchingEnabled { [Bind ("isDisplayCriteriaMatchingEnabled")] get; }
|
||||
}
|
||||
|
||||
[TV (11,2), NoiOS, NoMac, NoWatch]
|
||||
[TV (11, 2), NoiOS, NoMac, NoWatch]
|
||||
[Category]
|
||||
[BaseType (typeof (UIWindow))]
|
||||
interface UIWindow_AVAdditions {
|
||||
|
@ -883,7 +897,7 @@ namespace AVKit {
|
|||
AVDisplayManager GetAVDisplayManager ();
|
||||
}
|
||||
|
||||
[NoTV, NoWatch, NoMac, iOS (15,0), MacCatalyst (15,0)]
|
||||
[NoTV, NoWatch, NoMac, iOS (15, 0), MacCatalyst (15, 0)]
|
||||
[BaseType (typeof (UIViewController))]
|
||||
interface AVPictureInPictureVideoCallViewController {
|
||||
[DesignatedInitializer]
|
||||
|
@ -891,11 +905,10 @@ namespace AVKit {
|
|||
NativeHandle Constructor ([NullAllowed] string nibName, [NullAllowed] NSBundle bundle);
|
||||
}
|
||||
|
||||
[TV (15,0), NoWatch, Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
|
||||
[TV (15, 0), NoWatch, Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface AVPictureInPictureControllerContentSource
|
||||
{
|
||||
interface AVPictureInPictureControllerContentSource {
|
||||
[Export ("initWithPlayerLayer:")]
|
||||
NativeHandle Constructor (AVPlayerLayer playerLayer);
|
||||
|
||||
|
@ -934,17 +947,16 @@ namespace AVKit {
|
|||
NSObject WeakSampleBufferPlaybackDelegate { get; }
|
||||
}
|
||||
|
||||
interface IAVPictureInPictureSampleBufferPlaybackDelegate {}
|
||||
interface IAVPictureInPictureSampleBufferPlaybackDelegate { }
|
||||
|
||||
[TV (15,0), NoWatch, Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
|
||||
[TV (15, 0), NoWatch, Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)]
|
||||
#if NET
|
||||
[Protocol, Model]
|
||||
#else
|
||||
[Protocol, Model (AutoGeneratedName = true)]
|
||||
#endif
|
||||
[BaseType (typeof(NSObject))]
|
||||
interface AVPictureInPictureSampleBufferPlaybackDelegate
|
||||
{
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface AVPictureInPictureSampleBufferPlaybackDelegate {
|
||||
[Abstract]
|
||||
[Export ("pictureInPictureController:setPlaying:")]
|
||||
void SetPlaying (AVPictureInPictureController pictureInPictureController, bool playing);
|
||||
|
@ -969,15 +981,14 @@ namespace AVKit {
|
|||
bool ShouldProhibitBackgroundAudioPlayback (AVPictureInPictureController pictureInPictureController);
|
||||
}
|
||||
|
||||
[Mac (12,0), NoiOS, NoTV, NoMacCatalyst]
|
||||
[Mac (12, 0), NoiOS, NoTV, NoMacCatalyst]
|
||||
#if NET
|
||||
[Protocol, Model]
|
||||
#else
|
||||
[Protocol, Model (AutoGeneratedName = true)]
|
||||
#endif
|
||||
[BaseType (typeof(NSObject))]
|
||||
interface AVPlayerViewDelegate
|
||||
{
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface AVPlayerViewDelegate {
|
||||
[Export ("playerViewWillEnterFullScreen:")]
|
||||
void WillEnterFullScreen (AVPlayerView playerView);
|
||||
|
||||
|
@ -994,8 +1005,11 @@ namespace AVKit {
|
|||
void RestoreUserInterfaceForFullScreenExit (AVPlayerView playerView, Action<bool> completionHandler);
|
||||
}
|
||||
|
||||
[Mac (10,10)]
|
||||
[NoiOS][NoTV][NoWatch][NoMacCatalyst]
|
||||
[Mac (10, 10)]
|
||||
[NoiOS]
|
||||
[NoTV]
|
||||
[NoWatch]
|
||||
[NoMacCatalyst]
|
||||
[Native]
|
||||
public enum AVCaptureViewControlsStyle : long {
|
||||
Inline,
|
||||
|
@ -1004,22 +1018,24 @@ namespace AVKit {
|
|||
Default = Inline,
|
||||
}
|
||||
|
||||
[Mac (10,9)]
|
||||
[NoiOS][NoTV][NoWatch][NoMacCatalyst]
|
||||
[Mac (10, 9)]
|
||||
[NoiOS]
|
||||
[NoTV]
|
||||
[NoWatch]
|
||||
[NoMacCatalyst]
|
||||
[Native]
|
||||
public enum AVPlayerViewTrimResult : long {
|
||||
OKButton,
|
||||
CancelButton,
|
||||
}
|
||||
|
||||
[TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)]
|
||||
[TV (16, 0), NoWatch, Mac (13, 0), iOS (16, 0), MacCatalyst (16, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface AVPlaybackSpeed
|
||||
{
|
||||
interface AVPlaybackSpeed {
|
||||
[Static]
|
||||
[Export ("systemDefaultSpeeds")]
|
||||
AVPlaybackSpeed[] SystemDefaultSpeeds { get; }
|
||||
AVPlaybackSpeed [] SystemDefaultSpeeds { get; }
|
||||
|
||||
[Export ("initWithRate:localizedName:")]
|
||||
NativeHandle Constructor (float rate, string localizedName);
|
||||
|
@ -1036,17 +1052,16 @@ namespace AVKit {
|
|||
|
||||
delegate void AVCustomRoutingControllerDelegateCompletionHandler (bool success);
|
||||
|
||||
interface IAVCustomRoutingControllerDelegate {}
|
||||
interface IAVCustomRoutingControllerDelegate { }
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (16,0), MacCatalyst (16,0)]
|
||||
[NoWatch, NoTV, NoMac, iOS (16, 0), MacCatalyst (16, 0)]
|
||||
#if NET
|
||||
[Protocol, Model]
|
||||
#else
|
||||
[Protocol, Model (AutoGeneratedName = true)]
|
||||
#endif
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface AVCustomRoutingControllerDelegate
|
||||
{
|
||||
interface AVCustomRoutingControllerDelegate {
|
||||
[Abstract]
|
||||
[Export ("customRoutingController:handleEvent:completionHandler:")]
|
||||
void HandleEvent (AVCustomRoutingController controller, AVCustomRoutingEvent @event, AVCustomRoutingControllerDelegateCompletionHandler completionHandler);
|
||||
|
|
|
@ -22,19 +22,17 @@ using OS_nw_endpoint = ObjCRuntime.NativeHandle;
|
|||
|
||||
namespace AVRouting {
|
||||
|
||||
[Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoTV, NoWatch]
|
||||
[Mac (13, 0), iOS (16, 0), MacCatalyst (16, 0), NoTV, NoWatch]
|
||||
[Native]
|
||||
public enum AVCustomRoutingEventReason : long
|
||||
{
|
||||
public enum AVCustomRoutingEventReason : long {
|
||||
Activate = 0,
|
||||
Deactivate,
|
||||
Reactivate,
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (16,0), MacCatalyst (16,0)]
|
||||
[NoWatch, NoTV, NoMac, iOS (16, 0), MacCatalyst (16, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface AVCustomDeviceRoute
|
||||
{
|
||||
interface AVCustomDeviceRoute {
|
||||
[Internal]
|
||||
[Export ("networkEndpoint")]
|
||||
OS_nw_endpoint _NetworkEndpoint { get; }
|
||||
|
@ -43,10 +41,9 @@ namespace AVRouting {
|
|||
NSUuid BluetoothIdentifier { get; }
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (16,0), MacCatalyst (16,0)]
|
||||
[NoWatch, NoTV, NoMac, iOS (16, 0), MacCatalyst (16, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface AVCustomRoutingActionItem
|
||||
{
|
||||
interface AVCustomRoutingActionItem {
|
||||
[Export ("type", ArgumentSemantic.Copy)]
|
||||
UTType Type { get; set; }
|
||||
|
||||
|
@ -54,10 +51,9 @@ namespace AVRouting {
|
|||
string OverrideTitle { get; set; }
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (16,0), MacCatalyst (16,0)]
|
||||
[NoWatch, NoTV, NoMac, iOS (16, 0), MacCatalyst (16, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface AVCustomRoutingController
|
||||
{
|
||||
interface AVCustomRoutingController {
|
||||
[Wrap ("WeakDelegate")]
|
||||
IAVCustomRoutingControllerDelegate Delegate { get; set; }
|
||||
|
||||
|
@ -65,10 +61,10 @@ namespace AVRouting {
|
|||
NSObject WeakDelegate { get; set; }
|
||||
|
||||
[Export ("authorizedRoutes")]
|
||||
AVCustomDeviceRoute[] AuthorizedRoutes { get; }
|
||||
AVCustomDeviceRoute [] AuthorizedRoutes { get; }
|
||||
|
||||
[Export ("customActionItems", ArgumentSemantic.Strong)]
|
||||
AVCustomRoutingActionItem[] CustomActionItems { get; set; }
|
||||
AVCustomRoutingActionItem [] CustomActionItems { get; set; }
|
||||
|
||||
[Export ("invalidateAuthorizationForRoute:")]
|
||||
void InvalidateAuthorization (AVCustomDeviceRoute route);
|
||||
|
@ -79,15 +75,14 @@ namespace AVRouting {
|
|||
[Export ("isRouteActive:")]
|
||||
bool IsRouteActive (AVCustomDeviceRoute route);
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (16,0), MacCatalyst (16,0)]
|
||||
[NoWatch, NoTV, NoMac, iOS (16, 0), MacCatalyst (16, 0)]
|
||||
[Notification, Field ("AVCustomRoutingControllerAuthorizedRoutesDidChangeNotification")]
|
||||
NSString AuthorizedRoutesDidChangeNotification { get; }
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (16,0), MacCatalyst (16,0)]
|
||||
[NoWatch, NoTV, NoMac, iOS (16, 0), MacCatalyst (16, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface AVCustomRoutingEvent
|
||||
{
|
||||
interface AVCustomRoutingEvent {
|
||||
[Export ("reason")]
|
||||
AVCustomRoutingEventReason Reason { get; }
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ using NativeHandle = System.IntPtr;
|
|||
#endif
|
||||
|
||||
namespace BackgroundAssets {
|
||||
[NoWatch, NoTV, Mac (13,0), iOS (16,0), MacCatalyst (16,0)]
|
||||
[NoWatch, NoTV, Mac (13, 0), iOS (16, 0), MacCatalyst (16, 0)]
|
||||
[Native]
|
||||
public enum BADownloadState : long {
|
||||
Failed = -1,
|
||||
|
@ -28,7 +28,7 @@ namespace BackgroundAssets {
|
|||
Finished,
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, Mac (13,0), iOS (16,0), MacCatalyst (16,0)]
|
||||
[NoWatch, NoTV, Mac (13, 0), iOS (16, 0), MacCatalyst (16, 0)]
|
||||
[Native]
|
||||
public enum BAContentRequest : long {
|
||||
Install = 1,
|
||||
|
@ -36,11 +36,10 @@ namespace BackgroundAssets {
|
|||
Periodic,
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, Mac (13,0), iOS (16,0), MacCatalyst (16,0)]
|
||||
[NoWatch, NoTV, Mac (13, 0), iOS (16, 0), MacCatalyst (16, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface BADownload : NSCoding, NSSecureCoding, NSCopying
|
||||
{
|
||||
interface BADownload : NSCoding, NSSecureCoding, NSCopying {
|
||||
[Export ("state")]
|
||||
BADownloadState State { get; }
|
||||
|
||||
|
@ -55,18 +54,18 @@ namespace BackgroundAssets {
|
|||
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, Mac (13,0), iOS (16,0), MacCatalyst (16,0)]
|
||||
[NoWatch, NoTV, Mac (13, 0), iOS (16, 0), MacCatalyst (16, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface BAAppExtensionInfo : NSSecureCoding {
|
||||
interface BAAppExtensionInfo : NSSecureCoding {
|
||||
|
||||
[Mac (13,0), iOS (16,1), MacCatalyst (16,1)]
|
||||
[Mac (13, 0), iOS (16, 1), MacCatalyst (16, 1)]
|
||||
[NullAllowed]
|
||||
[Export ("restrictedDownloadSizeRemaining", ArgumentSemantic.Strong)]
|
||||
NSNumber RestrictedDownloadSizeRemaining { get; }
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, Mac (13,0), iOS (16,0), MacCatalyst (16,0)]
|
||||
[NoWatch, NoTV, Mac (13, 0), iOS (16, 0), MacCatalyst (16, 0)]
|
||||
[Protocol]
|
||||
interface BADownloaderExtension {
|
||||
|
||||
|
@ -86,17 +85,17 @@ namespace BackgroundAssets {
|
|||
NSSet<BADownload> GetDownloads (BAContentRequest contentRequest, NSUrl manifestUrl, BAAppExtensionInfo extensionInfo);
|
||||
}
|
||||
|
||||
interface IBADownloadManagerDelegate {}
|
||||
interface IBADownloadManagerDelegate { }
|
||||
|
||||
[NoWatch, NoTV, Mac (13,0), iOS (16,0), MacCatalyst (16,0)]
|
||||
[NoWatch, NoTV, Mac (13, 0), iOS (16, 0), MacCatalyst (16, 0)]
|
||||
#if NET
|
||||
[Protocol][Model]
|
||||
#else
|
||||
[Protocol][Model (AutoGeneratedName = true)]
|
||||
[Protocol]
|
||||
[Model (AutoGeneratedName = true)]
|
||||
#endif
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface BADownloadManagerDelegate
|
||||
{
|
||||
interface BADownloadManagerDelegate {
|
||||
[Export ("downloadDidBegin:")]
|
||||
void DidBegin (BADownload download);
|
||||
|
||||
|
@ -116,11 +115,10 @@ namespace BackgroundAssets {
|
|||
void Finished (BADownload download, NSUrl fileUrl);
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, Mac (13,0), iOS (16,0), MacCatalyst (16,0)]
|
||||
[NoWatch, NoTV, Mac (13, 0), iOS (16, 0), MacCatalyst (16, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface BADownloadManager
|
||||
{
|
||||
interface BADownloadManager {
|
||||
[Static]
|
||||
[Export ("sharedManager", ArgumentSemantic.Strong)]
|
||||
BADownloadManager SharedManager { get; }
|
||||
|
@ -148,16 +146,15 @@ namespace BackgroundAssets {
|
|||
[Export ("cancelDownload:error:")]
|
||||
bool CancelDownload (BADownload download, [NullAllowed] out NSError error);
|
||||
|
||||
[MacCatalyst (16,1), iOS (16,1)]
|
||||
[MacCatalyst (16, 1), iOS (16, 1)]
|
||||
[Export ("performWithExclusiveControlBeforeDate:performHandler:")]
|
||||
void PerformWithExclusiveControlBeforeDate (NSDate date, Action<bool, NSError> performHandler);
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, Mac (13,0), iOS (16,0), MacCatalyst (16,0)]
|
||||
[NoWatch, NoTV, Mac (13, 0), iOS (16, 0), MacCatalyst (16, 0)]
|
||||
[BaseType (typeof (BADownload), Name = "BAURLDownload")]
|
||||
[DisableDefaultCtor]
|
||||
interface BAUrlDownload
|
||||
{
|
||||
interface BAUrlDownload {
|
||||
|
||||
[Field ("BADownloaderPriorityMin")]
|
||||
nint MinPriority { get; }
|
||||
|
|
|
@ -18,7 +18,7 @@ using NativeHandle = System.IntPtr;
|
|||
|
||||
namespace BackgroundTasks {
|
||||
|
||||
[TV (13,0), NoWatch, NoMac, iOS (13,0)]
|
||||
[TV (13, 0), NoWatch, NoMac, iOS (13, 0)]
|
||||
[BaseType (typeof (BGTaskRequest))]
|
||||
[DisableDefaultCtor]
|
||||
interface BGAppRefreshTaskRequest {
|
||||
|
@ -26,7 +26,7 @@ namespace BackgroundTasks {
|
|||
NativeHandle Constructor (string identifier);
|
||||
}
|
||||
|
||||
[TV (13,0), NoWatch, NoMac, iOS (13,0)]
|
||||
[TV (13, 0), NoWatch, NoMac, iOS (13, 0)]
|
||||
[BaseType (typeof (BGTaskRequest))]
|
||||
[DisableDefaultCtor]
|
||||
interface BGProcessingTaskRequest {
|
||||
|
@ -41,7 +41,7 @@ namespace BackgroundTasks {
|
|||
}
|
||||
|
||||
[Abstract]
|
||||
[TV (13,0), NoWatch, NoMac, iOS (13,0)]
|
||||
[TV (13, 0), NoWatch, NoMac, iOS (13, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface BGTaskRequest : NSCopying {
|
||||
|
@ -52,7 +52,7 @@ namespace BackgroundTasks {
|
|||
NSDate EarliestBeginDate { get; set; }
|
||||
}
|
||||
|
||||
[TV (13,0), NoWatch, NoMac, iOS (13,0)]
|
||||
[TV (13, 0), NoWatch, NoMac, iOS (13, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface BGTask {
|
||||
|
@ -66,19 +66,19 @@ namespace BackgroundTasks {
|
|||
void SetTaskCompleted (bool success);
|
||||
}
|
||||
|
||||
[TV (13,0), NoWatch, NoMac, iOS (13,0)]
|
||||
[TV (13, 0), NoWatch, NoMac, iOS (13, 0)]
|
||||
[BaseType (typeof (BGTask))]
|
||||
[DisableDefaultCtor]
|
||||
interface BGAppRefreshTask {
|
||||
}
|
||||
|
||||
[TV (13,0), NoWatch, NoMac, iOS (13,0)]
|
||||
[TV (13, 0), NoWatch, NoMac, iOS (13, 0)]
|
||||
[BaseType (typeof (BGTask))]
|
||||
[DisableDefaultCtor]
|
||||
interface BGProcessingTask {
|
||||
}
|
||||
|
||||
[TV (13,0), NoWatch, NoMac, iOS (13,0)]
|
||||
[TV (13, 0), NoWatch, NoMac, iOS (13, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface BGTaskScheduler {
|
||||
|
|
|
@ -24,8 +24,8 @@ using NativeHandle = System.IntPtr;
|
|||
|
||||
namespace BusinessChat {
|
||||
|
||||
[Mac (10,13,4), iOS (11,3)]
|
||||
[BaseType (typeof(UIControl))]
|
||||
[Mac (10, 13, 4), iOS (11, 3)]
|
||||
[BaseType (typeof (UIControl))]
|
||||
[DisableDefaultCtor]
|
||||
interface BCChatButton {
|
||||
[Export ("initWithStyle:")]
|
||||
|
@ -34,8 +34,8 @@ namespace BusinessChat {
|
|||
}
|
||||
|
||||
|
||||
[Mac (10,13,4), iOS (11,3)]
|
||||
[BaseType (typeof(NSObject))]
|
||||
[Mac (10, 13, 4), iOS (11, 3)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface BCChatAction {
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace CallKit {
|
|||
Enabled = 2
|
||||
}
|
||||
|
||||
[iOS (10, 0), NoMac, MacCatalyst (14,0), Watch (9,0)]
|
||||
[iOS (10, 0), NoMac, MacCatalyst (14, 0), Watch (9, 0)]
|
||||
[ErrorDomain ("CXErrorDomain")]
|
||||
[Native]
|
||||
public enum CXErrorCode : long {
|
||||
|
@ -77,12 +77,11 @@ namespace CallKit {
|
|||
UnexpectedIncrementalRemoval = 8,
|
||||
}
|
||||
|
||||
[iOS (14,5), Watch (9,0), NoTV, NoMac]
|
||||
[iOS (14, 5), Watch (9, 0), NoTV, NoMac]
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 5)]
|
||||
[ErrorDomain ("CXErrorDomainNotificationServiceExtension")]
|
||||
[Native]
|
||||
public enum CXErrorCodeNotificationServiceExtensionError : long
|
||||
{
|
||||
public enum CXErrorCodeNotificationServiceExtensionError : long {
|
||||
Unknown = 0,
|
||||
InvalidClientProcess = 1,
|
||||
MissingNotificationFilteringEntitlement = 2,
|
||||
|
@ -91,10 +90,10 @@ namespace CallKit {
|
|||
#if NET
|
||||
[NoMac]
|
||||
#else
|
||||
[Mac (11,0)]
|
||||
[Obsoleted (PlatformName.MacOSX, 12,1)]
|
||||
[Mac (11, 0)]
|
||||
[Obsoleted (PlatformName.MacOSX, 12, 1)]
|
||||
#endif
|
||||
[MacCatalyst (13,0)]
|
||||
[MacCatalyst (13, 0)]
|
||||
[iOS (10, 0)]
|
||||
[Native]
|
||||
public enum CXPlayDtmfCallActionType : long {
|
||||
|
@ -106,10 +105,10 @@ namespace CallKit {
|
|||
#if NET
|
||||
[NoMac]
|
||||
#else
|
||||
[Mac (11,0)]
|
||||
[Obsoleted (PlatformName.MacOSX, 12,1)]
|
||||
[Mac (11, 0)]
|
||||
[Obsoleted (PlatformName.MacOSX, 12, 1)]
|
||||
#endif
|
||||
[MacCatalyst (13,0)]
|
||||
[MacCatalyst (13, 0)]
|
||||
[iOS (10, 0)]
|
||||
[Native]
|
||||
public enum CXCallEndedReason : long {
|
||||
|
@ -123,10 +122,10 @@ namespace CallKit {
|
|||
#if NET
|
||||
[NoMac]
|
||||
#else
|
||||
[Mac (11,0)]
|
||||
[Obsoleted (PlatformName.MacOSX, 12,1)]
|
||||
[Mac (11, 0)]
|
||||
[Obsoleted (PlatformName.MacOSX, 12, 1)]
|
||||
#endif
|
||||
[MacCatalyst (13,0)]
|
||||
[MacCatalyst (13, 0)]
|
||||
[iOS (10, 0)]
|
||||
[Native]
|
||||
public enum CXHandleType : long {
|
||||
|
@ -135,7 +134,7 @@ namespace CallKit {
|
|||
EmailAddress = 3,
|
||||
}
|
||||
|
||||
[iOS (10, 0), NoMac, Watch (9,0)]
|
||||
[iOS (10, 0), NoMac, Watch (9, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CXHandle : NSCopying, NSSecureCoding {
|
||||
|
@ -154,7 +153,7 @@ namespace CallKit {
|
|||
bool IsEqual (CXHandle handle);
|
||||
}
|
||||
|
||||
[iOS (10, 0), NoMac, Watch (9,0)]
|
||||
[iOS (10, 0), NoMac, Watch (9, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor] // designated
|
||||
interface CXAction : NSCopying, NSSecureCoding {
|
||||
|
@ -179,7 +178,7 @@ namespace CallKit {
|
|||
void Fail ();
|
||||
}
|
||||
|
||||
[iOS (10, 0), NoMac, Watch (9,0)]
|
||||
[iOS (10, 0), NoMac, Watch (9, 0)]
|
||||
[BaseType (typeof (CXCallAction))]
|
||||
[DisableDefaultCtor]
|
||||
interface CXAnswerCallAction {
|
||||
|
@ -192,7 +191,7 @@ namespace CallKit {
|
|||
void Fulfill (NSDate dateConnected);
|
||||
}
|
||||
|
||||
[iOS (10, 0), NoMac, Watch (9,0)]
|
||||
[iOS (10, 0), NoMac, Watch (9, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CXCall {
|
||||
|
@ -216,7 +215,7 @@ namespace CallKit {
|
|||
bool IsEqual (CXCall call);
|
||||
}
|
||||
|
||||
[iOS (10, 0), NoMac, Watch (9,0)]
|
||||
[iOS (10, 0), NoMac, Watch (9, 0)]
|
||||
[BaseType (typeof (CXAction))]
|
||||
[DisableDefaultCtor]
|
||||
interface CXCallAction {
|
||||
|
@ -229,7 +228,7 @@ namespace CallKit {
|
|||
NativeHandle Constructor (NSUuid callUuid);
|
||||
}
|
||||
|
||||
[iOS (10, 0), NoMac, Watch (9,0)]
|
||||
[iOS (10, 0), NoMac, Watch (9, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface CXCallController {
|
||||
|
||||
|
@ -244,12 +243,12 @@ namespace CallKit {
|
|||
[Export ("requestTransaction:completion:")]
|
||||
void RequestTransaction (CXTransaction transaction, Action<NSError> completion);
|
||||
|
||||
[iOS (11,0)]
|
||||
[iOS (11, 0)]
|
||||
[Async]
|
||||
[Export ("requestTransactionWithActions:completion:")]
|
||||
void RequestTransaction (CXAction[] actions, Action<NSError> completion);
|
||||
void RequestTransaction (CXAction [] actions, Action<NSError> completion);
|
||||
|
||||
[iOS (11,0)]
|
||||
[iOS (11, 0)]
|
||||
[Async]
|
||||
[Export ("requestTransactionWithAction:completion:")]
|
||||
void RequestTransaction (CXAction action, Action<NSError> completion);
|
||||
|
@ -276,27 +275,28 @@ namespace CallKit {
|
|||
[Export ("incremental")]
|
||||
bool Incremental { [Bind ("isIncremental")] get; }
|
||||
|
||||
[iOS (11,0)]
|
||||
[iOS (11, 0)]
|
||||
[Export ("removeBlockingEntryWithPhoneNumber:")]
|
||||
void RemoveBlockingEntry (/* CXCallDirectoryPhoneNumber -> int64_t */ long phoneNumber);
|
||||
|
||||
[iOS (11,0)]
|
||||
[iOS (11, 0)]
|
||||
[Export ("removeAllBlockingEntries")]
|
||||
void RemoveAllBlockingEntries ();
|
||||
|
||||
[iOS (11,0)]
|
||||
[iOS (11, 0)]
|
||||
[Export ("removeIdentificationEntryWithPhoneNumber:")]
|
||||
void RemoveIdentificationEntry (/* CXCallDirectoryPhoneNumber -> int64_t */ long phoneNumber);
|
||||
|
||||
[iOS (11,0)]
|
||||
[iOS (11, 0)]
|
||||
[Export ("removeAllIdentificationEntries")]
|
||||
void RemoveAllIdentificationEntries ();
|
||||
}
|
||||
|
||||
interface ICXCallDirectoryExtensionContextDelegate {}
|
||||
interface ICXCallDirectoryExtensionContextDelegate { }
|
||||
|
||||
[iOS (10, 0), NoMac, NoWatch]
|
||||
[Protocol][Model]
|
||||
[Protocol]
|
||||
[Model]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface CXCallDirectoryExtensionContextDelegate {
|
||||
|
||||
|
@ -321,7 +321,7 @@ namespace CallKit {
|
|||
[Export ("getEnabledStatusForExtensionWithIdentifier:completionHandler:")]
|
||||
void GetEnabledStatusForExtension (string identifier, Action<CXCallDirectoryEnabledStatus, NSError> completion);
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (13,4), MacCatalyst (14,0)]
|
||||
[NoWatch, NoTV, NoMac, iOS (13, 4), MacCatalyst (14, 0)]
|
||||
[Async]
|
||||
[Export ("openSettingsWithCompletionHandler:")]
|
||||
void OpenSettings ([NullAllowed] Action<NSError> completion);
|
||||
|
@ -335,7 +335,7 @@ namespace CallKit {
|
|||
|
||||
interface ICXCallObserverDelegate { }
|
||||
|
||||
[iOS (10, 0), NoMac, Watch (9,0)]
|
||||
[iOS (10, 0), NoMac, Watch (9, 0)]
|
||||
[Protocol, Model]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface CXCallObserverDelegate {
|
||||
|
@ -345,7 +345,7 @@ namespace CallKit {
|
|||
void CallChanged (CXCallObserver callObserver, CXCall call);
|
||||
}
|
||||
|
||||
[iOS (10, 0), NoMac, Watch (9,0)]
|
||||
[iOS (10, 0), NoMac, Watch (9, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface CXCallObserver {
|
||||
|
||||
|
@ -356,7 +356,7 @@ namespace CallKit {
|
|||
void SetDelegate ([NullAllowed] ICXCallObserverDelegate aDelegate, [NullAllowed] DispatchQueue queue);
|
||||
}
|
||||
|
||||
[iOS (10, 0), NoMac, Watch (9,0)]
|
||||
[iOS (10, 0), NoMac, Watch (9, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface CXCallUpdate : NSCopying {
|
||||
|
||||
|
@ -382,7 +382,7 @@ namespace CallKit {
|
|||
bool HasVideo { get; set; }
|
||||
}
|
||||
|
||||
[iOS (10, 0), NoMac, Watch (9,0)]
|
||||
[iOS (10, 0), NoMac, Watch (9, 0)]
|
||||
[DisableDefaultCtor]
|
||||
[BaseType (typeof (CXCallAction))]
|
||||
interface CXEndCallAction {
|
||||
|
@ -395,7 +395,7 @@ namespace CallKit {
|
|||
void Fulfill (NSDate dateEnded);
|
||||
}
|
||||
|
||||
[iOS (10, 0), NoMac, Watch (9,0)]
|
||||
[iOS (10, 0), NoMac, Watch (9, 0)]
|
||||
[DisableDefaultCtor]
|
||||
[BaseType (typeof (CXCallAction), Name = "CXPlayDTMFCallAction")]
|
||||
interface CXPlayDtmfCallAction {
|
||||
|
@ -414,7 +414,7 @@ namespace CallKit {
|
|||
interface ICXProviderDelegate { }
|
||||
|
||||
[Protocol, Model]
|
||||
[iOS (10, 0), NoMac, Watch (9,0)]
|
||||
[iOS (10, 0), NoMac, Watch (9, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface CXProviderDelegate {
|
||||
|
||||
|
@ -462,7 +462,9 @@ namespace CallKit {
|
|||
void DidDeactivateAudioSession (CXProvider provider, AVAudioSession audioSession);
|
||||
}
|
||||
|
||||
[iOS (10, 0)] [NoMac] [Watch (9,0)]
|
||||
[iOS (10, 0)]
|
||||
[NoMac]
|
||||
[Watch (9, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CXProvider {
|
||||
|
@ -490,7 +492,7 @@ namespace CallKit {
|
|||
[Export ("reportOutgoingCallWithUUID:connectedAtDate:")]
|
||||
void ReportConnectedOutgoingCall (NSUuid uuid, [NullAllowed] NSDate dateConnected);
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (14,5)]
|
||||
[NoWatch, NoTV, NoMac, iOS (14, 5)]
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 5)]
|
||||
[Static, Async]
|
||||
[Export ("reportNewIncomingVoIPPushPayload:completion:")]
|
||||
|
@ -509,7 +511,7 @@ namespace CallKit {
|
|||
CXCallAction [] GetPendingCallActions (Class callActionClass, NSUuid callUuid);
|
||||
}
|
||||
|
||||
[iOS (10, 0), Mac (11, 0), Watch (9,0)]
|
||||
[iOS (10, 0), Mac (11, 0), Watch (9, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CXProviderConfiguration : NSCopying {
|
||||
|
@ -549,13 +551,15 @@ namespace CallKit {
|
|||
NativeHandle Constructor (string localizedName);
|
||||
|
||||
[iOS (14, 0)]
|
||||
[MacCatalyst (14,0)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[DesignatedInitializer]
|
||||
[Export ("init")]
|
||||
NativeHandle Constructor ();
|
||||
}
|
||||
|
||||
[iOS (10, 0)] [NoMac] [Watch (9,0)]
|
||||
[iOS (10, 0)]
|
||||
[NoMac]
|
||||
[Watch (9, 0)]
|
||||
[BaseType (typeof (CXCallAction))]
|
||||
[DisableDefaultCtor]
|
||||
interface CXSetGroupCallAction {
|
||||
|
@ -568,7 +572,7 @@ namespace CallKit {
|
|||
NSUuid CallUuidToGroupWith { get; set; }
|
||||
}
|
||||
|
||||
[iOS (10, 0), NoMac, Watch (9,0)]
|
||||
[iOS (10, 0), NoMac, Watch (9, 0)]
|
||||
[DisableDefaultCtor]
|
||||
[BaseType (typeof (CXCallAction))]
|
||||
interface CXSetHeldCallAction {
|
||||
|
@ -581,7 +585,7 @@ namespace CallKit {
|
|||
bool OnHold { [Bind ("isOnHold")] get; set; }
|
||||
}
|
||||
|
||||
[iOS (10, 0), NoMac, Watch (9,0)]
|
||||
[iOS (10, 0), NoMac, Watch (9, 0)]
|
||||
[BaseType (typeof (CXCallAction))]
|
||||
[DisableDefaultCtor]
|
||||
interface CXSetMutedCallAction {
|
||||
|
@ -594,7 +598,7 @@ namespace CallKit {
|
|||
bool Muted { [Bind ("isMuted")] get; set; }
|
||||
}
|
||||
|
||||
[iOS (10, 0), NoMac, Watch (9,0)]
|
||||
[iOS (10, 0), NoMac, Watch (9, 0)]
|
||||
[DisableDefaultCtor]
|
||||
[BaseType (typeof (CXCallAction))]
|
||||
interface CXStartCallAction {
|
||||
|
@ -618,14 +622,14 @@ namespace CallKit {
|
|||
void Fulfill (NSDate dateStarted);
|
||||
}
|
||||
|
||||
[iOS (10, 0), NoMac, Watch (9,0)]
|
||||
[iOS (10, 0), NoMac, Watch (9, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor] // there's a designated initializer that does not accept null
|
||||
interface CXTransaction : NSCopying, NSSecureCoding {
|
||||
|
||||
[Export ("initWithActions:")]
|
||||
[DesignatedInitializer]
|
||||
NativeHandle Constructor (CXAction[] actions);
|
||||
NativeHandle Constructor (CXAction [] actions);
|
||||
|
||||
[Export ("initWithAction:")]
|
||||
NativeHandle Constructor (CXAction action);
|
||||
|
|
463
src/carplay.cs
463
src/carplay.cs
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -20,85 +20,106 @@ namespace CoreServices {
|
|||
|
||||
[Deprecated (PlatformName.iOS, 9, 0)]
|
||||
[Deprecated (PlatformName.MacOSX, 10, 11)]
|
||||
[Internal][Field ("kCFStreamPropertyHTTPAttemptPersistentConnection", "CFNetwork")]
|
||||
[Internal]
|
||||
[Field ("kCFStreamPropertyHTTPAttemptPersistentConnection", "CFNetwork")]
|
||||
NSString _AttemptPersistentConnection { get; }
|
||||
|
||||
[Deprecated (PlatformName.iOS, 9, 0)]
|
||||
[Deprecated (PlatformName.MacOSX, 10, 11)]
|
||||
[Internal][Field ("kCFStreamPropertyHTTPFinalURL", "CFNetwork")]
|
||||
[Internal]
|
||||
[Field ("kCFStreamPropertyHTTPFinalURL", "CFNetwork")]
|
||||
NSString _FinalURL { get; }
|
||||
|
||||
[Deprecated (PlatformName.iOS, 9, 0)]
|
||||
[Deprecated (PlatformName.MacOSX, 10, 11)]
|
||||
[Internal][Field ("kCFStreamPropertyHTTPFinalRequest", "CFNetwork")]
|
||||
[Internal]
|
||||
[Field ("kCFStreamPropertyHTTPFinalRequest", "CFNetwork")]
|
||||
NSString _FinalRequest { get; }
|
||||
|
||||
[Deprecated (PlatformName.iOS, 9, 0)]
|
||||
[Deprecated (PlatformName.MacOSX, 10, 11)]
|
||||
[Internal][Field ("kCFStreamPropertyHTTPProxy", "CFNetwork")]
|
||||
[Internal]
|
||||
[Field ("kCFStreamPropertyHTTPProxy", "CFNetwork")]
|
||||
NSString _Proxy { get; }
|
||||
|
||||
[Deprecated (PlatformName.iOS, 9, 0)]
|
||||
[Deprecated (PlatformName.MacOSX, 10, 11)]
|
||||
[Internal][Field ("kCFStreamPropertyHTTPRequestBytesWrittenCount", "CFNetwork")]
|
||||
[Internal]
|
||||
[Field ("kCFStreamPropertyHTTPRequestBytesWrittenCount", "CFNetwork")]
|
||||
NSString _RequestBytesWrittenCount { get; }
|
||||
|
||||
[Deprecated (PlatformName.iOS, 9, 0)]
|
||||
[Deprecated (PlatformName.MacOSX, 10, 11)]
|
||||
[Internal][Field ("kCFStreamPropertyHTTPResponseHeader", "CFNetwork")]
|
||||
[Internal]
|
||||
[Field ("kCFStreamPropertyHTTPResponseHeader", "CFNetwork")]
|
||||
NSString _ResponseHeader { get; }
|
||||
|
||||
[Deprecated (PlatformName.iOS, 9, 0)]
|
||||
[Deprecated (PlatformName.MacOSX, 10, 11)]
|
||||
[Internal][Field ("kCFStreamPropertyHTTPShouldAutoredirect", "CFNetwork")]
|
||||
[Internal]
|
||||
[Field ("kCFStreamPropertyHTTPShouldAutoredirect", "CFNetwork")]
|
||||
NSString _ShouldAutoredirect { get; }
|
||||
}
|
||||
|
||||
[Partial]
|
||||
interface CFHTTPMessage {
|
||||
|
||||
[Internal][Field ("kCFHTTPVersion1_0", "CFNetwork")]
|
||||
[Internal]
|
||||
[Field ("kCFHTTPVersion1_0", "CFNetwork")]
|
||||
IntPtr _HTTPVersion1_0 { get; }
|
||||
|
||||
[Internal][Field ("kCFHTTPVersion1_1", "CFNetwork")]
|
||||
[Internal]
|
||||
[Field ("kCFHTTPVersion1_1", "CFNetwork")]
|
||||
IntPtr _HTTPVersion1_1 { get; }
|
||||
|
||||
[Mac (10,11)][iOS (9,0)]
|
||||
[Internal][Field ("kCFHTTPVersion2_0", "CFNetwork")]
|
||||
[Mac (10, 11)]
|
||||
[iOS (9, 0)]
|
||||
[Internal]
|
||||
[Field ("kCFHTTPVersion2_0", "CFNetwork")]
|
||||
IntPtr _HTTPVersion2_0 { get; }
|
||||
|
||||
[Mac (11, 0), iOS (14,0), TV (14, 0)]
|
||||
[MacCatalyst (14,0)]
|
||||
[Internal][Field ("kCFHTTPVersion3_0", "CFNetwork")]
|
||||
[Mac (11, 0), iOS (14, 0), TV (14, 0)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Internal]
|
||||
[Field ("kCFHTTPVersion3_0", "CFNetwork")]
|
||||
IntPtr _HTTPVersion3_0 { get; }
|
||||
|
||||
[Internal][Field ("kCFHTTPAuthenticationSchemeBasic", "CFNetwork")]
|
||||
[Internal]
|
||||
[Field ("kCFHTTPAuthenticationSchemeBasic", "CFNetwork")]
|
||||
IntPtr _AuthenticationSchemeBasic { get; }
|
||||
|
||||
[Internal][Field ("kCFHTTPAuthenticationSchemeNegotiate", "CFNetwork")]
|
||||
[Internal]
|
||||
[Field ("kCFHTTPAuthenticationSchemeNegotiate", "CFNetwork")]
|
||||
IntPtr _AuthenticationSchemeNegotiate { get; }
|
||||
|
||||
[Internal][Field ("kCFHTTPAuthenticationSchemeNTLM", "CFNetwork")]
|
||||
[Internal]
|
||||
[Field ("kCFHTTPAuthenticationSchemeNTLM", "CFNetwork")]
|
||||
IntPtr _AuthenticationSchemeNTLM { get; }
|
||||
|
||||
[Internal][Field ("kCFHTTPAuthenticationSchemeDigest", "CFNetwork")]
|
||||
[Internal]
|
||||
[Field ("kCFHTTPAuthenticationSchemeDigest", "CFNetwork")]
|
||||
IntPtr _AuthenticationSchemeDigest { get; }
|
||||
|
||||
[Internal][Field ("kCFHTTPAuthenticationUsername", "CFNetwork")]
|
||||
[Internal]
|
||||
[Field ("kCFHTTPAuthenticationUsername", "CFNetwork")]
|
||||
NSString _AuthenticationUsername { get; }
|
||||
|
||||
[Internal][Field ("kCFHTTPAuthenticationPassword", "CFNetwork")]
|
||||
[Internal]
|
||||
[Field ("kCFHTTPAuthenticationPassword", "CFNetwork")]
|
||||
NSString _AuthenticationPassword { get; }
|
||||
|
||||
[Internal][Field ("kCFHTTPAuthenticationAccountDomain", "CFNetwork")]
|
||||
[Internal]
|
||||
[Field ("kCFHTTPAuthenticationAccountDomain", "CFNetwork")]
|
||||
NSString _AuthenticationAccountDomain { get; }
|
||||
|
||||
// misdocumented by Apple (feedback left)
|
||||
// OSX headers says it's 10.9 only
|
||||
// iOS headers says it's iOS 7.0 only (but comments talks about OSX)
|
||||
// yet both 7.0+ and 10.9 returns null
|
||||
[Mac (10, 9)][iOS (7,0)]
|
||||
[Internal][Field ("kCFHTTPAuthenticationSchemeOAuth1", "CFNetwork")]
|
||||
[Mac (10, 9)]
|
||||
[iOS (7, 0)]
|
||||
[Internal]
|
||||
[Field ("kCFHTTPAuthenticationSchemeOAuth1", "CFNetwork")]
|
||||
IntPtr _AuthenticationSchemeOAuth1 { get; }
|
||||
}
|
||||
}
|
||||
|
|
851
src/chip.cs
851
src/chip.cs
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -20,18 +20,18 @@ using NativeHandle = System.IntPtr;
|
|||
namespace ClassKit {
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11,0), iOS (11,4)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[Native]
|
||||
enum CLSBinaryValueType : long {
|
||||
TrueFalse = 0,
|
||||
PassFail,
|
||||
YesNo,
|
||||
[iOS (12,2)]
|
||||
[iOS (12, 2)]
|
||||
CorrectIncorrect,
|
||||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11,0), iOS (11,4)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[Native]
|
||||
enum CLSContextType : long {
|
||||
None = 0,
|
||||
|
@ -50,14 +50,14 @@ namespace ClassKit {
|
|||
Document,
|
||||
Audio,
|
||||
Video,
|
||||
[iOS (13,4)]
|
||||
[iOS (13, 4)]
|
||||
Course,
|
||||
[iOS (13,4)]
|
||||
[iOS (13, 4)]
|
||||
Custom,
|
||||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11,0), iOS (11,4)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[Native]
|
||||
[ErrorDomain ("CLSErrorCodeDomain")]
|
||||
public enum CLSErrorCode : long {
|
||||
|
@ -76,7 +76,7 @@ namespace ClassKit {
|
|||
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11,0), iOS (11,4)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
enum CLSContextTopic {
|
||||
[Field ("CLSContextTopicMath")]
|
||||
Math,
|
||||
|
@ -101,7 +101,7 @@ namespace ClassKit {
|
|||
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11,0), iOS (14, 0)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (14, 0)]
|
||||
[Native]
|
||||
public enum CLSProgressReportingCapabilityKind : long {
|
||||
Duration = 0,
|
||||
|
@ -112,7 +112,7 @@ namespace ClassKit {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11,0), iOS (11,4)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[Static]
|
||||
interface CLSErrorUserInfoKeys {
|
||||
|
||||
|
@ -122,13 +122,13 @@ namespace ClassKit {
|
|||
[Field ("CLSErrorUnderlyingErrorsKey")]
|
||||
NSString UnderlyingErrorsKey { get; }
|
||||
|
||||
[Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
|
||||
[Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)]
|
||||
[Field ("CLSErrorSuccessfulObjectsKey")]
|
||||
NSString SuccessfulObjectsKey { get; }
|
||||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11,0), iOS (11,4)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[Static]
|
||||
interface CLSPredicateKeyPath {
|
||||
[Field ("CLSPredicateKeyPathDateCreated")]
|
||||
|
@ -151,7 +151,7 @@ namespace ClassKit {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11,0), iOS (11,4)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CLSObject : NSSecureCoding {
|
||||
|
@ -164,7 +164,7 @@ namespace ClassKit {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11,0), iOS (11,4)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[BaseType (typeof (CLSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CLSActivity {
|
||||
|
@ -199,14 +199,15 @@ namespace ClassKit {
|
|||
[Export ("stop")]
|
||||
void Stop ();
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14,5)]
|
||||
[Mac (11,3)][iOS (14,5)]
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 5)]
|
||||
[Mac (11, 3)]
|
||||
[iOS (14, 5)]
|
||||
[Export ("removeAllActivityItems")]
|
||||
void RemoveAllActivityItems ();
|
||||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11,0), iOS (11,4)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[BaseType (typeof (CLSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CLSActivityItem {
|
||||
|
@ -219,7 +220,7 @@ namespace ClassKit {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11,0), iOS (11,4)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[BaseType (typeof (CLSActivityItem))]
|
||||
[DisableDefaultCtor]
|
||||
interface CLSBinaryItem {
|
||||
|
@ -236,12 +237,12 @@ namespace ClassKit {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11,0), iOS (11,4)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[BaseType (typeof (CLSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CLSContext {
|
||||
|
||||
[iOS (13,4)]
|
||||
[iOS (13, 4)]
|
||||
[Export ("identifierPath", ArgumentSemantic.Copy)]
|
||||
string [] IdentifierPath { get; }
|
||||
|
||||
|
@ -254,7 +255,7 @@ namespace ClassKit {
|
|||
[Export ("type", ArgumentSemantic.Assign)]
|
||||
CLSContextType Type { get; }
|
||||
|
||||
[iOS (13,4)]
|
||||
[iOS (13, 4)]
|
||||
[NullAllowed, Export ("customTypeName")]
|
||||
string CustomTypeName { get; set; }
|
||||
|
||||
|
@ -264,11 +265,11 @@ namespace ClassKit {
|
|||
[Export ("displayOrder")]
|
||||
nint DisplayOrder { get; set; }
|
||||
|
||||
[iOS (13,4)]
|
||||
[iOS (13, 4)]
|
||||
[NullAllowed, Export ("summary")]
|
||||
string Summary { get; set; }
|
||||
|
||||
[iOS (13,4)]
|
||||
[iOS (13, 4)]
|
||||
[NullAllowed, Export ("thumbnail", ArgumentSemantic.Assign)]
|
||||
CGImage Thumbnail { get; set; }
|
||||
|
||||
|
@ -332,18 +333,21 @@ namespace ClassKit {
|
|||
[Export ("descendantMatchingIdentifierPath:completion:")]
|
||||
void FindDescendantMatching (string [] identifierPath, Action<CLSContext, NSError> completion);
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14,5)]
|
||||
[Mac (11,3)][iOS (14,5)]
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 5)]
|
||||
[Mac (11, 3)]
|
||||
[iOS (14, 5)]
|
||||
[Export ("navigationChildContexts", ArgumentSemantic.Copy)]
|
||||
CLSContext[] NavigationChildContexts { get; }
|
||||
CLSContext [] NavigationChildContexts { get; }
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14,5)]
|
||||
[Mac (11,3)][iOS (14,5)]
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 5)]
|
||||
[Mac (11, 3)]
|
||||
[iOS (14, 5)]
|
||||
[Export ("addNavigationChildContext:")]
|
||||
void AddNavigationChild (CLSContext childContext);
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14,5)]
|
||||
[Mac (11,3)][iOS (14,5)]
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 5)]
|
||||
[Mac (11, 3)]
|
||||
[iOS (14, 5)]
|
||||
[Export ("removeNavigationChildContext:")]
|
||||
void RemoveNavigationChild (CLSContext childContext);
|
||||
|
||||
|
@ -359,7 +363,7 @@ namespace ClassKit {
|
|||
interface ICLSDataStoreDelegate { }
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11,0), iOS (11,4)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[Protocol, Model]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface CLSDataStoreDelegate {
|
||||
|
@ -371,7 +375,7 @@ namespace ClassKit {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11,0), iOS (11,4)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CLSDataStore {
|
||||
|
@ -400,9 +404,9 @@ namespace ClassKit {
|
|||
[Export ("saveWithCompletion:")]
|
||||
void Save ([NullAllowed] Action<NSError> completion);
|
||||
|
||||
[iOS (12,2)]
|
||||
[iOS (12, 2)]
|
||||
[Export ("completeAllAssignedActivitiesMatching:")]
|
||||
void CompleteAllAssignedActivitiesMatching (string[] contextPath);
|
||||
void CompleteAllAssignedActivitiesMatching (string [] contextPath);
|
||||
|
||||
// From CLSDataStore (Contexts) Category
|
||||
|
||||
|
@ -417,15 +421,16 @@ namespace ClassKit {
|
|||
[Export ("removeContext:")]
|
||||
void Remove (CLSContext context);
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14,5)]
|
||||
[Mac (11,3)][iOS (14,5)]
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 5)]
|
||||
[Mac (11, 3)]
|
||||
[iOS (14, 5)]
|
||||
[Async]
|
||||
[Export ("fetchActivityForURL:completion:")]
|
||||
void FetchActivity (NSUrl url, Action<CLSActivity, NSError> completion);
|
||||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11,0), iOS (11,4)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[BaseType (typeof (CLSActivityItem))]
|
||||
[DisableDefaultCtor]
|
||||
interface CLSQuantityItem {
|
||||
|
@ -439,7 +444,7 @@ namespace ClassKit {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11,0), iOS (11,4)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[BaseType (typeof (CLSActivityItem))]
|
||||
[DisableDefaultCtor]
|
||||
interface CLSScoreItem {
|
||||
|
@ -456,7 +461,7 @@ namespace ClassKit {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11,0), iOS (12,2)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (12, 2)]
|
||||
[Protocol]
|
||||
interface CLSContextProvider {
|
||||
[Abstract]
|
||||
|
@ -465,7 +470,7 @@ namespace ClassKit {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11,0), iOS (14,0)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (14, 0)]
|
||||
[BaseType (typeof (CLSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CLSProgressReportingCapability {
|
||||
|
|
167
src/clockkit.cs
167
src/clockkit.cs
|
@ -19,7 +19,7 @@ using NativeHandle = System.IntPtr;
|
|||
|
||||
namespace ClockKit {
|
||||
|
||||
[Watch (7,0)]
|
||||
[Watch (7, 0)]
|
||||
[ErrorDomain ("CLKWatchFaceLibraryErrorDomain")]
|
||||
[Native]
|
||||
public enum CLKWatchFaceLibraryErrorCode : long {
|
||||
|
@ -28,7 +28,7 @@ namespace ClockKit {
|
|||
PermissionDenied = 3,
|
||||
FaceNotAvailable = 4,
|
||||
}
|
||||
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface CLKComplication : NSCopying {
|
||||
|
@ -81,7 +81,7 @@ namespace ClockKit {
|
|||
void GetTimelineAnimationBehavior (CLKComplication complication, Action<CLKComplicationTimelineAnimationBehavior> handler);
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (6,0)]
|
||||
[Watch (6, 0)]
|
||||
[Export ("getAlwaysOnTemplateForComplication:withHandler:")]
|
||||
void GetAlwaysOnTemplate (CLKComplication complication, Action<CLKComplicationTemplate> handler);
|
||||
|
||||
|
@ -97,7 +97,7 @@ namespace ClockKit {
|
|||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Export ("getTimelineEntriesForComplication:afterDate:limit:withHandler:")]
|
||||
void GetTimelineEntriesAfterDate (CLKComplication complication, NSDate afterDate, nuint limit, Action<CLKComplicationTimelineEntry []> handler);
|
||||
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 4, 0, message: "Use 'WKRefreshBackgroundTask' instead.")]
|
||||
[Export ("getNextRequestedUpdateDateWithHandler:")]
|
||||
void GetNextRequestedUpdateDate (Action<NSDate> handler);
|
||||
|
@ -116,19 +116,19 @@ namespace ClockKit {
|
|||
void GetPlaceholderTemplate (CLKComplication complication, Action<CLKComplicationTemplate> handler);
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (3,0)]
|
||||
[Watch (3, 0)]
|
||||
[Export ("getLocalizableSampleTemplateForComplication:withHandler:")]
|
||||
void GetLocalizableSampleTemplate (CLKComplication complication, Action<CLKComplicationTemplate> handler);
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (7, 0)]
|
||||
[Export ("getComplicationDescriptorsWithHandler:")]
|
||||
void GetComplicationDescriptors (Action<CLKComplicationDescriptor[]> handler);
|
||||
void GetComplicationDescriptors (Action<CLKComplicationDescriptor []> handler);
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (7, 0)]
|
||||
[Export ("handleSharedComplicationDescriptors:")]
|
||||
void HandleSharedComplicationDescriptors (CLKComplicationDescriptor[] complicationDescriptors);
|
||||
void HandleSharedComplicationDescriptors (CLKComplicationDescriptor [] complicationDescriptors);
|
||||
|
||||
[Watch (9, 0), NoiOS]
|
||||
[Export ("widgetMigrator")]
|
||||
|
@ -664,11 +664,11 @@ namespace ClockKit {
|
|||
[Export ("imageProvider", ArgumentSemantic.Copy)]
|
||||
CLKImageProvider ImageProvider { get; set; }
|
||||
|
||||
[Watch (7,0)]
|
||||
[Watch (7, 0)]
|
||||
[Export ("initWithImageProvider:")]
|
||||
NativeHandle Constructor (CLKImageProvider imageProvider);
|
||||
|
||||
[Watch (7,0)]
|
||||
[Watch (7, 0)]
|
||||
[Static]
|
||||
[Export ("templateWithImageProvider:")]
|
||||
CLKComplicationTemplateCircularSmallSimpleImage Create (CLKImageProvider imageProvider);
|
||||
|
@ -761,10 +761,10 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (3,0)]
|
||||
[Watch (3, 0)]
|
||||
[BaseType (typeof (CLKComplicationTemplate))]
|
||||
interface CLKComplicationTemplateExtraLargeSimpleText {
|
||||
|
||||
|
||||
[Export ("textProvider", ArgumentSemantic.Copy)]
|
||||
CLKTextProvider TextProvider { get; set; }
|
||||
|
||||
|
@ -779,10 +779,10 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (3,0)]
|
||||
[Watch (3, 0)]
|
||||
[BaseType (typeof (CLKComplicationTemplate))]
|
||||
interface CLKComplicationTemplateExtraLargeSimpleImage {
|
||||
|
||||
|
||||
[Export ("imageProvider", ArgumentSemantic.Copy)]
|
||||
CLKImageProvider ImageProvider { get; set; }
|
||||
|
||||
|
@ -797,10 +797,10 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (3,0)]
|
||||
[Watch (3, 0)]
|
||||
[BaseType (typeof (CLKComplicationTemplate))]
|
||||
interface CLKComplicationTemplateExtraLargeRingText {
|
||||
|
||||
|
||||
[Export ("textProvider", ArgumentSemantic.Copy)]
|
||||
CLKTextProvider TextProvider { get; set; }
|
||||
|
||||
|
@ -821,10 +821,10 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (3,0)]
|
||||
[Watch (3, 0)]
|
||||
[BaseType (typeof (CLKComplicationTemplate))]
|
||||
interface CLKComplicationTemplateExtraLargeRingImage {
|
||||
|
||||
|
||||
[Export ("imageProvider", ArgumentSemantic.Copy)]
|
||||
CLKImageProvider ImageProvider { get; set; }
|
||||
|
||||
|
@ -845,10 +845,10 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (3,0)]
|
||||
[Watch (3, 0)]
|
||||
[BaseType (typeof (CLKComplicationTemplate))]
|
||||
interface CLKComplicationTemplateExtraLargeStackText {
|
||||
|
||||
|
||||
[Export ("line1TextProvider", ArgumentSemantic.Copy)]
|
||||
CLKTextProvider Line1TextProvider { get; set; }
|
||||
|
||||
|
@ -869,10 +869,10 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (3,0)]
|
||||
[Watch (3, 0)]
|
||||
[BaseType (typeof (CLKComplicationTemplate))]
|
||||
interface CLKComplicationTemplateExtraLargeStackImage {
|
||||
|
||||
|
||||
[Export ("line1ImageProvider", ArgumentSemantic.Copy)]
|
||||
CLKImageProvider Line1ImageProvider { get; set; }
|
||||
|
||||
|
@ -893,10 +893,10 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (3,0)]
|
||||
[Watch (3, 0)]
|
||||
[BaseType (typeof (CLKComplicationTemplate))]
|
||||
interface CLKComplicationTemplateExtraLargeColumnsText {
|
||||
|
||||
|
||||
[Export ("row1Column1TextProvider", ArgumentSemantic.Copy)]
|
||||
CLKTextProvider Row1Column1TextProvider { get; set; }
|
||||
|
||||
|
@ -952,7 +952,7 @@ namespace ClockKit {
|
|||
[DisableDefaultCtor]
|
||||
interface CLKImageProvider : NSCopying {
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 7, 0)]
|
||||
[Deprecated (PlatformName.WatchOS, 7, 0)]
|
||||
[Export ("init")]
|
||||
NativeHandle Constructor ();
|
||||
|
||||
|
@ -993,7 +993,7 @@ namespace ClockKit {
|
|||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CLKTextProvider : NSCopying {
|
||||
|
||||
|
||||
[Deprecated (PlatformName.iOS, 14, 0, message: "Use overloaded constructors.")]
|
||||
[Export ("init")]
|
||||
NativeHandle Constructor ();
|
||||
|
@ -1010,20 +1010,20 @@ namespace ClockKit {
|
|||
// but static methods are not great candidates for extensions methods
|
||||
// so they are inlined inside the actual type
|
||||
|
||||
[Watch (3,0)]
|
||||
[Watch (3, 0)]
|
||||
[Static]
|
||||
[Export ("localizableTextProviderWithStringsFileTextKey:")]
|
||||
CLKTextProvider CreateLocalizable (string textKey);
|
||||
|
||||
[Watch (3,0)]
|
||||
[Watch (3, 0)]
|
||||
[Static]
|
||||
[Export ("localizableTextProviderWithStringsFileTextKey:shortTextKey:")]
|
||||
CLKTextProvider CreateLocalizable (string textKey, [NullAllowed] string shortTextKey);
|
||||
|
||||
[Watch (3,0)]
|
||||
[Watch (3, 0)]
|
||||
[Static]
|
||||
[Export ("localizableTextProviderWithStringsFileFormatKey:textProviders:")]
|
||||
CLKTextProvider CreateLocalizable (string formatKey, CLKTextProvider[] textProviders);
|
||||
CLKTextProvider CreateLocalizable (string formatKey, CLKTextProvider [] textProviders);
|
||||
|
||||
[NullAllowed]
|
||||
[Export ("accessibilityLabel")]
|
||||
|
@ -1088,7 +1088,7 @@ namespace ClockKit {
|
|||
[Export ("timeZone", ArgumentSemantic.Retain)]
|
||||
NSTimeZone TimeZone { get; set; }
|
||||
|
||||
[Watch (6,0)]
|
||||
[Watch (6, 0)]
|
||||
[Export ("uppercase")]
|
||||
bool Uppercase { get; set; }
|
||||
|
||||
|
@ -1207,7 +1207,7 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (5,0)]
|
||||
[Watch (5, 0)]
|
||||
[BaseType (typeof (CLKComplicationTemplate))]
|
||||
interface CLKComplicationTemplateGraphicBezelCircularText {
|
||||
[Export ("circularTemplate", ArgumentSemantic.Copy)]
|
||||
|
@ -1236,7 +1236,7 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (5,0)]
|
||||
[Watch (5, 0)]
|
||||
[Abstract] // <quote>An abstract superclass for all the circular graphic templates.</quote>
|
||||
[DisableDefaultCtor]
|
||||
[BaseType (typeof (CLKComplicationTemplate))]
|
||||
|
@ -1244,7 +1244,7 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (5,0)]
|
||||
[Watch (5, 0)]
|
||||
[BaseType (typeof (CLKComplicationTemplateGraphicCircular))]
|
||||
interface CLKComplicationTemplateGraphicCircularClosedGaugeImage {
|
||||
[Export ("gaugeProvider", ArgumentSemantic.Copy)]
|
||||
|
@ -1264,7 +1264,7 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (5,0)]
|
||||
[Watch (5, 0)]
|
||||
[BaseType (typeof (CLKComplicationTemplateGraphicCircular))]
|
||||
interface CLKComplicationTemplateGraphicCircularClosedGaugeText {
|
||||
[Export ("gaugeProvider", ArgumentSemantic.Copy)]
|
||||
|
@ -1284,7 +1284,7 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (5,0)]
|
||||
[Watch (5, 0)]
|
||||
[BaseType (typeof (CLKComplicationTemplateGraphicCircular))]
|
||||
interface CLKComplicationTemplateGraphicCircularImage {
|
||||
[Export ("imageProvider", ArgumentSemantic.Copy)]
|
||||
|
@ -1301,7 +1301,7 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (5,0)]
|
||||
[Watch (5, 0)]
|
||||
[BaseType (typeof (CLKComplicationTemplateGraphicCircular))]
|
||||
interface CLKComplicationTemplateGraphicCircularOpenGaugeImage {
|
||||
[Export ("gaugeProvider", ArgumentSemantic.Copy)]
|
||||
|
@ -1324,7 +1324,7 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (5,0)]
|
||||
[Watch (5, 0)]
|
||||
[BaseType (typeof (CLKComplicationTemplateGraphicCircular))]
|
||||
interface CLKComplicationTemplateGraphicCircularOpenGaugeRangeText {
|
||||
[Export ("gaugeProvider", ArgumentSemantic.Copy)]
|
||||
|
@ -1338,7 +1338,7 @@ namespace ClockKit {
|
|||
|
||||
[Export ("centerTextProvider", ArgumentSemantic.Copy)]
|
||||
CLKTextProvider CenterTextProvider { get; set; }
|
||||
|
||||
|
||||
[Watch (7, 0)]
|
||||
[Export ("initWithGaugeProvider:leadingTextProvider:trailingTextProvider:centerTextProvider:")]
|
||||
NativeHandle Constructor (CLKGaugeProvider gaugeProvider, CLKTextProvider leadingTextProvider, CLKTextProvider trailingTextProvider, CLKTextProvider centerTextProvider);
|
||||
|
@ -1350,7 +1350,7 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (5,0)]
|
||||
[Watch (5, 0)]
|
||||
[BaseType (typeof (CLKComplicationTemplateGraphicCircular))]
|
||||
interface CLKComplicationTemplateGraphicCircularOpenGaugeSimpleText {
|
||||
[Export ("gaugeProvider", ArgumentSemantic.Copy)]
|
||||
|
@ -1373,7 +1373,7 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (5,0)]
|
||||
[Watch (5, 0)]
|
||||
[BaseType (typeof (CLKComplicationTemplate))]
|
||||
interface CLKComplicationTemplateGraphicCornerCircularImage {
|
||||
[Export ("imageProvider", ArgumentSemantic.Copy)]
|
||||
|
@ -1390,7 +1390,7 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (5,0)]
|
||||
[Watch (5, 0)]
|
||||
[BaseType (typeof (CLKComplicationTemplate))]
|
||||
interface CLKComplicationTemplateGraphicCornerGaugeImage {
|
||||
[Export ("gaugeProvider", ArgumentSemantic.Copy)]
|
||||
|
@ -1425,7 +1425,7 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (5,0)]
|
||||
[Watch (5, 0)]
|
||||
[BaseType (typeof (CLKComplicationTemplate))]
|
||||
interface CLKComplicationTemplateGraphicCornerGaugeText {
|
||||
[Export ("gaugeProvider", ArgumentSemantic.Copy)]
|
||||
|
@ -1448,19 +1448,19 @@ namespace ClockKit {
|
|||
[Export ("initWithGaugeProvider:leadingTextProvider:trailingTextProvider:outerTextProvider:")]
|
||||
NativeHandle Constructor (CLKGaugeProvider gaugeProvider, [NullAllowed] CLKTextProvider leadingTextProvider, [NullAllowed] CLKTextProvider trailingTextProvider, CLKTextProvider outerTextProvider);
|
||||
|
||||
[Watch (7,0)]
|
||||
[Watch (7, 0)]
|
||||
[Static]
|
||||
[Export ("templateWithGaugeProvider:outerTextProvider:")]
|
||||
CLKComplicationTemplateGraphicCornerGaugeText Create (CLKGaugeProvider gaugeProvider, CLKTextProvider outerTextProvider);
|
||||
|
||||
[Watch (7,0)]
|
||||
[Watch (7, 0)]
|
||||
[Static]
|
||||
[Export ("templateWithGaugeProvider:leadingTextProvider:trailingTextProvider:outerTextProvider:")]
|
||||
CLKComplicationTemplateGraphicCornerGaugeText Create (CLKGaugeProvider gaugeProvider, [NullAllowed] CLKTextProvider leadingTextProvider, [NullAllowed] CLKTextProvider trailingTextProvider, CLKTextProvider outerTextProvider);
|
||||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (5,0)]
|
||||
[Watch (5, 0)]
|
||||
[BaseType (typeof (CLKComplicationTemplate))]
|
||||
interface CLKComplicationTemplateGraphicCornerStackText {
|
||||
[Export ("innerTextProvider", ArgumentSemantic.Copy)]
|
||||
|
@ -1480,7 +1480,7 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (5,0)]
|
||||
[Watch (5, 0)]
|
||||
[BaseType (typeof (CLKComplicationTemplate))]
|
||||
interface CLKComplicationTemplateGraphicCornerTextImage {
|
||||
[Export ("textProvider", ArgumentSemantic.Copy)]
|
||||
|
@ -1500,7 +1500,7 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (5,0)]
|
||||
[Watch (5, 0)]
|
||||
[BaseType (typeof (CLKComplicationTemplate))]
|
||||
interface CLKComplicationTemplateGraphicRectangularLargeImage {
|
||||
[Export ("imageProvider", ArgumentSemantic.Copy)]
|
||||
|
@ -1520,7 +1520,7 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (5,0)]
|
||||
[Watch (5, 0)]
|
||||
[BaseType (typeof (CLKComplicationTemplate))]
|
||||
interface CLKComplicationTemplateGraphicRectangularStandardBody {
|
||||
[NullAllowed, Export ("headerImageProvider", ArgumentSemantic.Copy)]
|
||||
|
@ -1573,7 +1573,7 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (5,0)]
|
||||
[Watch (5, 0)]
|
||||
[BaseType (typeof (CLKComplicationTemplate))]
|
||||
interface CLKComplicationTemplateGraphicRectangularTextGauge {
|
||||
[NullAllowed, Export ("headerImageProvider", ArgumentSemantic.Copy)]
|
||||
|
@ -1608,7 +1608,7 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (5,0)]
|
||||
[Watch (5, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CLKFullColorImageProvider : NSCopying {
|
||||
|
@ -1616,7 +1616,7 @@ namespace ClockKit {
|
|||
[Export ("providerWithFullColorImage:")]
|
||||
CLKFullColorImageProvider Create (UIImage image);
|
||||
|
||||
[Watch (6,0)]
|
||||
[Watch (6, 0)]
|
||||
[Static]
|
||||
[Export ("providerWithFullColorImage:tintedImageProvider:")]
|
||||
CLKFullColorImageProvider Create (UIImage image, [NullAllowed] CLKImageProvider tintedImageProvider);
|
||||
|
@ -1624,7 +1624,7 @@ namespace ClockKit {
|
|||
[Export ("image", ArgumentSemantic.Retain)]
|
||||
UIImage Image { get; set; }
|
||||
|
||||
[Watch (6,0)]
|
||||
[Watch (6, 0)]
|
||||
[NullAllowed, Export ("tintedImageProvider", ArgumentSemantic.Retain)]
|
||||
CLKImageProvider TintedImageProvider { get; set; }
|
||||
|
||||
|
@ -1645,7 +1645,7 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (5,0)]
|
||||
[Watch (5, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[Abstract] // <quote>An abstract superclass that...</quote>
|
||||
[DisableDefaultCtor]
|
||||
|
@ -1654,25 +1654,25 @@ namespace ClockKit {
|
|||
CLKGaugeProviderStyle Style { get; }
|
||||
|
||||
[NullAllowed, Export ("gaugeColors")]
|
||||
UIColor[] GaugeColors { get; }
|
||||
UIColor [] GaugeColors { get; }
|
||||
|
||||
[NullAllowed, Export ("gaugeColorLocations")]
|
||||
[BindAs (typeof (float []))] // between 0.0 and 1.0
|
||||
NSNumber[] GaugeColorLocations { get; }
|
||||
NSNumber [] GaugeColorLocations { get; }
|
||||
|
||||
[Watch (5,2)]
|
||||
[Watch (5, 2)]
|
||||
[NullAllowed, Export ("accessibilityLabel")]
|
||||
string AccessibilityLabel { get; set; }
|
||||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (5,0)]
|
||||
[Watch (5, 0)]
|
||||
[BaseType (typeof (CLKGaugeProvider))]
|
||||
[DisableDefaultCtor]
|
||||
interface CLKSimpleGaugeProvider {
|
||||
[Static]
|
||||
[Export ("gaugeProviderWithStyle:gaugeColors:gaugeColorLocations:fillFraction:")]
|
||||
CLKSimpleGaugeProvider Create (CLKGaugeProviderStyle style, [NullAllowed] UIColor[] gaugeColors, [NullAllowed][BindAs (typeof (float []))] NSNumber[] gaugeColorLocations, float fillFraction);
|
||||
CLKSimpleGaugeProvider Create (CLKGaugeProviderStyle style, [NullAllowed] UIColor [] gaugeColors, [NullAllowed][BindAs (typeof (float []))] NSNumber [] gaugeColorLocations, float fillFraction);
|
||||
|
||||
[Static]
|
||||
[Export ("gaugeProviderWithStyle:gaugeColor:fillFraction:")]
|
||||
|
@ -1686,17 +1686,17 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (5,0)]
|
||||
[Watch (5, 0)]
|
||||
[BaseType (typeof (CLKGaugeProvider))]
|
||||
[DisableDefaultCtor]
|
||||
interface CLKTimeIntervalGaugeProvider {
|
||||
[Static]
|
||||
[Export ("gaugeProviderWithStyle:gaugeColors:gaugeColorLocations:startDate:endDate:")]
|
||||
CLKTimeIntervalGaugeProvider Create (CLKGaugeProviderStyle style, [NullAllowed] UIColor[] gaugeColors, [NullAllowed][BindAs (typeof (float []))] NSNumber[] gaugeColorLocations, NSDate startDate, NSDate endDate);
|
||||
CLKTimeIntervalGaugeProvider Create (CLKGaugeProviderStyle style, [NullAllowed] UIColor [] gaugeColors, [NullAllowed][BindAs (typeof (float []))] NSNumber [] gaugeColorLocations, NSDate startDate, NSDate endDate);
|
||||
|
||||
[Static]
|
||||
[Export ("gaugeProviderWithStyle:gaugeColors:gaugeColorLocations:startDate:startFillFraction:endDate:endFillFraction:")]
|
||||
CLKTimeIntervalGaugeProvider Create (CLKGaugeProviderStyle style, [NullAllowed] UIColor[] gaugeColors, [NullAllowed][BindAs (typeof (float []))] NSNumber[] gaugeColorLocations, NSDate startDate, float startFillFraction, NSDate endDate, float endFillFraction);
|
||||
CLKTimeIntervalGaugeProvider Create (CLKGaugeProviderStyle style, [NullAllowed] UIColor [] gaugeColors, [NullAllowed][BindAs (typeof (float []))] NSNumber [] gaugeColorLocations, NSDate startDate, float startFillFraction, NSDate endDate, float endFillFraction);
|
||||
|
||||
[Export ("startDate")]
|
||||
NSDate StartDate { get; }
|
||||
|
@ -1712,7 +1712,7 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (6,0)]
|
||||
[Watch (6, 0)]
|
||||
[BaseType (typeof (CLKComplicationTemplateGraphicCircular))]
|
||||
interface CLKComplicationTemplateGraphicCircularStackText {
|
||||
|
||||
|
@ -1733,7 +1733,7 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (6,0)]
|
||||
[Watch (6, 0)]
|
||||
[BaseType (typeof (CLKComplicationTemplateGraphicCircular))]
|
||||
interface CLKComplicationTemplateGraphicCircularStackImage {
|
||||
|
||||
|
@ -1886,7 +1886,7 @@ namespace ClockKit {
|
|||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (7, 0)]
|
||||
[BaseType (typeof(CLKComplicationTemplateGraphicExtraLargeCircular))]
|
||||
[BaseType (typeof (CLKComplicationTemplateGraphicExtraLargeCircular))]
|
||||
interface CLKComplicationTemplateGraphicExtraLargeCircularImage {
|
||||
[Export ("imageProvider", ArgumentSemantic.Copy)]
|
||||
CLKFullColorImageProvider ImageProvider { get; set; }
|
||||
|
@ -1901,7 +1901,7 @@ namespace ClockKit {
|
|||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (7, 0)]
|
||||
[BaseType (typeof(CLKComplicationTemplateGraphicExtraLargeCircular))]
|
||||
[BaseType (typeof (CLKComplicationTemplateGraphicExtraLargeCircular))]
|
||||
interface CLKComplicationTemplateGraphicExtraLargeCircularClosedGaugeText {
|
||||
[Export ("gaugeProvider", ArgumentSemantic.Copy)]
|
||||
CLKGaugeProvider GaugeProvider { get; set; }
|
||||
|
@ -1919,7 +1919,7 @@ namespace ClockKit {
|
|||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Watch (7, 0)]
|
||||
[BaseType (typeof(CLKComplicationTemplateGraphicExtraLargeCircular))]
|
||||
[BaseType (typeof (CLKComplicationTemplateGraphicExtraLargeCircular))]
|
||||
interface CLKComplicationTemplateGraphicExtraLargeCircularClosedGaugeImage {
|
||||
[Export ("gaugeProvider", ArgumentSemantic.Copy)]
|
||||
CLKGaugeProvider GaugeProvider { get; set; }
|
||||
|
@ -1936,7 +1936,7 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
[Watch (7, 0)]
|
||||
[BaseType (typeof(NSObject))]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CLKComplicationDescriptor : NSCopying, NSSecureCoding {
|
||||
[Export ("identifier")]
|
||||
|
@ -1946,8 +1946,8 @@ namespace ClockKit {
|
|||
string DisplayName { get; }
|
||||
|
||||
[Export ("supportedFamilies")]
|
||||
[BindAs ( typeof (CLKComplicationFamily []))]
|
||||
NSNumber[] SupportedFamilies { get; }
|
||||
[BindAs (typeof (CLKComplicationFamily []))]
|
||||
NSNumber [] SupportedFamilies { get; }
|
||||
|
||||
[NullAllowed, Export ("userInfo")]
|
||||
NSDictionary UserInfo { get; }
|
||||
|
@ -1957,36 +1957,34 @@ namespace ClockKit {
|
|||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Export ("initWithIdentifier:displayName:supportedFamilies:")]
|
||||
NativeHandle Constructor (string identifier, string displayName, [BindAs (typeof (CLKComplicationFamily []))] NSNumber[] supportedFamilies);
|
||||
NativeHandle Constructor (string identifier, string displayName, [BindAs (typeof (CLKComplicationFamily []))] NSNumber [] supportedFamilies);
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Export ("initWithIdentifier:displayName:supportedFamilies:userInfo:")]
|
||||
NativeHandle Constructor (string identifier, string displayName, [BindAs (typeof (CLKComplicationFamily []))] NSNumber[] supportedFamilies, NSDictionary userInfo);
|
||||
NativeHandle Constructor (string identifier, string displayName, [BindAs (typeof (CLKComplicationFamily []))] NSNumber [] supportedFamilies, NSDictionary userInfo);
|
||||
|
||||
[Deprecated (PlatformName.WatchOS, 9, 0, message: "Use WidgetKit instead.")]
|
||||
[Export ("initWithIdentifier:displayName:supportedFamilies:userActivity:")]
|
||||
NativeHandle Constructor (string identifier, string displayName, [BindAs (typeof (CLKComplicationFamily []))] NSNumber[] supportedFamilies, NSUserActivity userActivity);
|
||||
NativeHandle Constructor (string identifier, string displayName, [BindAs (typeof (CLKComplicationFamily []))] NSNumber [] supportedFamilies, NSUserActivity userActivity);
|
||||
}
|
||||
|
||||
[Watch (9,0), NoiOS]
|
||||
[Watch (9, 0), NoiOS]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface CLKComplicationWidgetMigrationConfiguration : NSCopying {}
|
||||
interface CLKComplicationWidgetMigrationConfiguration : NSCopying { }
|
||||
|
||||
[Watch (9,0), NoiOS]
|
||||
[Watch (9, 0), NoiOS]
|
||||
[Protocol]
|
||||
[BaseType (typeof(NSObject))]
|
||||
interface CLKComplicationWidgetMigrator
|
||||
{
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface CLKComplicationWidgetMigrator {
|
||||
[Async]
|
||||
[Export ("getWidgetConfigurationFrom:completionHandler:")]
|
||||
void GetWidgetConfiguration (CLKComplicationDescriptor complicationDescriptor, Action<CLKComplicationWidgetMigrationConfiguration> completionHandler);
|
||||
}
|
||||
|
||||
[Watch (9,0), NoiOS]
|
||||
[Watch (9, 0), NoiOS]
|
||||
[BaseType (typeof (CLKComplicationWidgetMigrationConfiguration))]
|
||||
[DisableDefaultCtor]
|
||||
interface CLKComplicationIntentWidgetMigrationConfiguration
|
||||
{
|
||||
interface CLKComplicationIntentWidgetMigrationConfiguration {
|
||||
[Export ("kind")]
|
||||
string Kind { get; }
|
||||
|
||||
|
@ -2008,11 +2006,10 @@ namespace ClockKit {
|
|||
}
|
||||
|
||||
|
||||
[Watch (9,0), NoiOS]
|
||||
[BaseType (typeof(CLKComplicationWidgetMigrationConfiguration))]
|
||||
[Watch (9, 0), NoiOS]
|
||||
[BaseType (typeof (CLKComplicationWidgetMigrationConfiguration))]
|
||||
[DisableDefaultCtor]
|
||||
interface CLKComplicationStaticWidgetMigrationConfiguration
|
||||
{
|
||||
interface CLKComplicationStaticWidgetMigrationConfiguration {
|
||||
[Export ("kind")]
|
||||
string Kind { get; }
|
||||
|
||||
|
|
728
src/cloudkit.cs
728
src/cloudkit.cs
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
630
src/contacts.cs
630
src/contacts.cs
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -27,7 +27,8 @@ using NativeHandle = System.IntPtr;
|
|||
namespace ContactsUI {
|
||||
|
||||
#if !MONOMAC
|
||||
[iOS (9,0)][NoMac]
|
||||
[iOS (9, 0)]
|
||||
[NoMac]
|
||||
[BaseType (typeof (UIViewController))]
|
||||
interface CNContactPickerViewController {
|
||||
[Export ("initWithNibName:bundle:")]
|
||||
|
@ -38,7 +39,8 @@ namespace ContactsUI {
|
|||
[Export ("displayedPropertyKeys")]
|
||||
NSString [] DisplayedPropertyKeys { get; set; }
|
||||
|
||||
[Export ("delegate", ArgumentSemantic.Weak)][NullAllowed]
|
||||
[Export ("delegate", ArgumentSemantic.Weak)]
|
||||
[NullAllowed]
|
||||
ICNContactPickerDelegate Delegate { get; set; }
|
||||
|
||||
[NullAllowed]
|
||||
|
@ -55,7 +57,7 @@ namespace ContactsUI {
|
|||
}
|
||||
#endif
|
||||
|
||||
interface ICNContactPickerDelegate {}
|
||||
interface ICNContactPickerDelegate { }
|
||||
|
||||
#if MONOMAC
|
||||
[NoiOS][NoMacCatalyst][NoTV]
|
||||
|
@ -78,7 +80,7 @@ namespace ContactsUI {
|
|||
}
|
||||
#else
|
||||
[NoMac]
|
||||
[iOS (9,0)]
|
||||
[iOS (9, 0)]
|
||||
[Protocol, Model]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface CNContactPickerDelegate {
|
||||
|
@ -100,8 +102,8 @@ namespace ContactsUI {
|
|||
}
|
||||
#endif // MONOMAC
|
||||
|
||||
[Mac (10,11)]
|
||||
[iOS (9,0)]
|
||||
[Mac (10, 11)]
|
||||
[iOS (9, 0)]
|
||||
#if MONOMAC
|
||||
[BaseType (typeof (NSViewController))]
|
||||
#else
|
||||
|
@ -147,7 +149,8 @@ namespace ContactsUI {
|
|||
NSString [] DisplayedPropertyKeys { get; set; }
|
||||
|
||||
[NoMac]
|
||||
[Export ("delegate", ArgumentSemantic.Weak)][NullAllowed]
|
||||
[Export ("delegate", ArgumentSemantic.Weak)]
|
||||
[NullAllowed]
|
||||
ICNContactViewControllerDelegate Delegate { get; set; }
|
||||
|
||||
[NoMac]
|
||||
|
@ -192,9 +195,9 @@ namespace ContactsUI {
|
|||
void HighlightProperty (NSString key, [NullAllowed] string identifier);
|
||||
}
|
||||
|
||||
interface ICNContactViewControllerDelegate {}
|
||||
interface ICNContactViewControllerDelegate { }
|
||||
|
||||
[iOS (9,0)]
|
||||
[iOS (9, 0)]
|
||||
[NoMac]
|
||||
[Protocol, Model]
|
||||
[BaseType (typeof (NSObject))]
|
||||
|
@ -207,13 +210,14 @@ namespace ContactsUI {
|
|||
void DidComplete (CNContactViewController viewController, [NullAllowed] CNContact contact);
|
||||
}
|
||||
|
||||
[Mac (10,11)]
|
||||
[NoiOS][NoTV][NoMacCatalyst]
|
||||
[Mac (10, 11)]
|
||||
[NoiOS]
|
||||
[NoTV]
|
||||
[NoMacCatalyst]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface CNContactPicker
|
||||
{
|
||||
interface CNContactPicker {
|
||||
[Export ("displayedKeys", ArgumentSemantic.Copy)]
|
||||
string[] DisplayedKeys { get; set; }
|
||||
string [] DisplayedKeys { get; set; }
|
||||
|
||||
[NullAllowed, Export ("delegate", ArgumentSemantic.Weak)]
|
||||
[Protocolize]
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -35,7 +35,7 @@ using NativeHandle = System.IntPtr;
|
|||
|
||||
namespace CoreAudioKit {
|
||||
[NoiOS]
|
||||
[Mac (10,11)]
|
||||
[Mac (10, 11)]
|
||||
[Flags]
|
||||
public enum AUGenericViewDisplayFlags : uint {
|
||||
TitleDisplay = 1u << 0,
|
||||
|
@ -43,15 +43,17 @@ namespace CoreAudioKit {
|
|||
ParametersDisplay = 1u << 2,
|
||||
}
|
||||
|
||||
[iOS (9,0)][Mac (10,11)]
|
||||
[BaseType (typeof(AUViewControllerBase))]
|
||||
[iOS (9, 0)]
|
||||
[Mac (10, 11)]
|
||||
[BaseType (typeof (AUViewControllerBase))]
|
||||
interface AUViewController {
|
||||
[Export ("initWithNibName:bundle:")]
|
||||
[PostGet ("NibBundle")]
|
||||
NativeHandle Constructor ([NullAllowed] string nibName, [NullAllowed] NSBundle bundle);
|
||||
}
|
||||
|
||||
[iOS (11,0)][Mac (10,13)]
|
||||
[iOS (11, 0)]
|
||||
[Mac (10, 13)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface AUAudioUnitViewConfiguration : NSSecureCoding {
|
||||
[Export ("initWithWidth:height:hostHasController:")]
|
||||
|
@ -68,7 +70,8 @@ namespace CoreAudioKit {
|
|||
}
|
||||
|
||||
[Category]
|
||||
[iOS (11,0)][Mac (10,13)]
|
||||
[iOS (11, 0)]
|
||||
[Mac (10, 13)]
|
||||
[BaseType (typeof (AUAudioUnit))]
|
||||
interface AUAudioUnitViewControllerExtensions {
|
||||
[Export ("supportedViewConfigurations:")]
|
||||
|
@ -79,7 +82,7 @@ namespace CoreAudioKit {
|
|||
}
|
||||
|
||||
[NoiOS]
|
||||
[Mac (10,13)]
|
||||
[Mac (10, 13)]
|
||||
[Protocol]
|
||||
interface AUCustomViewPersistentData {
|
||||
|
||||
|
@ -89,7 +92,7 @@ namespace CoreAudioKit {
|
|||
}
|
||||
|
||||
[NoiOS]
|
||||
[Mac (10,13)]
|
||||
[Mac (10, 13)]
|
||||
[DisableDefaultCtor] // Crashes
|
||||
[BaseType (typeof (NSView))]
|
||||
interface AUGenericView : AUCustomViewPersistentData {
|
||||
|
@ -108,7 +111,7 @@ namespace CoreAudioKit {
|
|||
}
|
||||
|
||||
[NoiOS]
|
||||
[Mac (10,13)]
|
||||
[Mac (10, 13)]
|
||||
[BaseType (typeof (NSView))]
|
||||
[DisableDefaultCtor]
|
||||
interface AUPannerView {
|
||||
|
@ -122,7 +125,7 @@ namespace CoreAudioKit {
|
|||
}
|
||||
|
||||
[NoiOS]
|
||||
[Mac (10,13)]
|
||||
[Mac (10, 13)]
|
||||
[BaseType (typeof (NSWindowController), Name = "CABTLEMIDIWindowController")]
|
||||
interface CABtleMidiWindowController {
|
||||
|
||||
|
@ -131,7 +134,7 @@ namespace CoreAudioKit {
|
|||
}
|
||||
|
||||
[NoiOS]
|
||||
[Mac (10,13)]
|
||||
[Mac (10, 13)]
|
||||
[BaseType (typeof (NSViewController))]
|
||||
interface CAInterDeviceAudioViewController {
|
||||
|
||||
|
@ -140,7 +143,7 @@ namespace CoreAudioKit {
|
|||
}
|
||||
|
||||
[NoiOS]
|
||||
[Mac (10,13)]
|
||||
[Mac (10, 13)]
|
||||
[DesignatedDefaultCtor]
|
||||
[BaseType (typeof (NSWindowController))]
|
||||
interface CANetworkBrowserWindowController {
|
||||
|
@ -154,38 +157,38 @@ namespace CoreAudioKit {
|
|||
}
|
||||
|
||||
#if !MONOMAC
|
||||
[iOS (8,0)]
|
||||
[iOS (8, 0)]
|
||||
[NoMac]
|
||||
// in iOS 8.3 (Xcode 6.3 SDK) the base type was changed from UIViewController to UITableViewController
|
||||
[BaseType (typeof (UITableViewController), Name="CABTMIDICentralViewController")]
|
||||
[BaseType (typeof (UITableViewController), Name = "CABTMIDICentralViewController")]
|
||||
interface CABTMidiCentralViewController {
|
||||
[Export ("initWithNibName:bundle:")]
|
||||
[PostGet ("NibBundle")]
|
||||
NativeHandle Constructor ([NullAllowed] string nibName, [NullAllowed] NSBundle bundle);
|
||||
|
||||
[iOS (8,3)]
|
||||
[iOS (8, 3)]
|
||||
[Export ("initWithStyle:")]
|
||||
NativeHandle Constructor (UITableViewStyle withStyle);
|
||||
}
|
||||
|
||||
[iOS (8,0)]
|
||||
[iOS (8, 0)]
|
||||
[NoMac]
|
||||
[BaseType (typeof (UIViewController), Name="CABTMIDILocalPeripheralViewController")]
|
||||
[BaseType (typeof (UIViewController), Name = "CABTMIDILocalPeripheralViewController")]
|
||||
interface CABTMidiLocalPeripheralViewController {
|
||||
[Export ("initWithNibName:bundle:")]
|
||||
[PostGet ("NibBundle")]
|
||||
NativeHandle Constructor ([NullAllowed] string nibName, [NullAllowed] NSBundle bundle);
|
||||
}
|
||||
|
||||
[iOS (8,0)]
|
||||
[iOS (8, 0)]
|
||||
[NoMac]
|
||||
[Deprecated (PlatformName.iOS, 13,0, message: "Use 'AudioUnit' instead.")]
|
||||
[Deprecated (PlatformName.iOS, 13, 0, message: "Use 'AudioUnit' instead.")]
|
||||
[NoMacCatalyst]
|
||||
[BaseType (typeof (UIView))]
|
||||
interface CAInterAppAudioSwitcherView {
|
||||
[Export ("initWithFrame:")]
|
||||
NativeHandle Constructor (CGRect bounds);
|
||||
|
||||
|
||||
[Export ("showingAppNames")]
|
||||
bool ShowingAppNames { [Bind ("isShowingAppNames")] get; set; }
|
||||
|
||||
|
@ -196,15 +199,15 @@ namespace CoreAudioKit {
|
|||
nfloat ContentWidth ();
|
||||
}
|
||||
|
||||
[iOS (8,0)]
|
||||
[iOS (8, 0)]
|
||||
[NoMac]
|
||||
[Deprecated (PlatformName.iOS, 13,0, message: "Use 'AudioUnit' instead.")]
|
||||
[Deprecated (PlatformName.iOS, 13, 0, message: "Use 'AudioUnit' instead.")]
|
||||
[NoMacCatalyst]
|
||||
[BaseType (typeof (UIView))]
|
||||
interface CAInterAppAudioTransportView {
|
||||
[Export ("initWithFrame:")]
|
||||
NativeHandle Constructor (CGRect bounds);
|
||||
|
||||
|
||||
[Export ("enabled")]
|
||||
bool Enabled { [Bind ("isEnabled")] get; set; }
|
||||
|
||||
|
@ -242,10 +245,9 @@ namespace CoreAudioKit {
|
|||
}
|
||||
#endif
|
||||
|
||||
[Mac (13,0), iOS (16,0)]
|
||||
[BaseType (typeof(UIViewController))]
|
||||
interface AUGenericViewController
|
||||
{
|
||||
[Mac (13, 0), iOS (16, 0)]
|
||||
[BaseType (typeof (UIViewController))]
|
||||
interface AUGenericViewController {
|
||||
|
||||
[DesignatedInitializer]
|
||||
[Export ("initWithNibName:bundle:")]
|
||||
|
|
|
@ -20,16 +20,16 @@ using NativeHandle = System.IntPtr;
|
|||
|
||||
namespace CoreBluetooth {
|
||||
|
||||
[Watch (4,0)]
|
||||
[iOS (8,0)]
|
||||
[Mac (10,13)]
|
||||
[Watch (4, 0)]
|
||||
[iOS (8, 0)]
|
||||
[Mac (10, 13)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface CBAttribute {
|
||||
[Export ("UUID")]
|
||||
CBUUID UUID { get; [NotImplemented] set; }
|
||||
CBUUID UUID { get; [NotImplemented] set; }
|
||||
}
|
||||
|
||||
[Watch (4,0)]
|
||||
[Watch (4, 0)]
|
||||
[StrongDictionary ("CBCentralManager")]
|
||||
interface CBCentralInitOptions {
|
||||
[Export ("OptionShowPowerAlertKey")]
|
||||
|
@ -40,43 +40,46 @@ namespace CoreBluetooth {
|
|||
string RestoreIdentifier { get; set; }
|
||||
}
|
||||
|
||||
[Watch (4,0)]
|
||||
[iOS (10,0)]
|
||||
[Mac (10,13)]
|
||||
[BaseType (typeof(NSObject))]
|
||||
[Watch (4, 0)]
|
||||
[iOS (10, 0)]
|
||||
[Mac (10, 13)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CBManager {
|
||||
[Export ("state", ArgumentSemantic.Assign)]
|
||||
CBManagerState State { get; }
|
||||
|
||||
[Internal]
|
||||
[iOS (13,0), Watch (6,0)]
|
||||
[NoTV][NoMac]
|
||||
[iOS (13, 0), Watch (6, 0)]
|
||||
[NoTV]
|
||||
[NoMac]
|
||||
[Export ("authorization", ArgumentSemantic.Assign)]
|
||||
CBManagerAuthorization _IAuthorization { get; }
|
||||
|
||||
[Internal]
|
||||
[iOS (13,1), Watch (6,1)]
|
||||
[NoTV][NoMac]
|
||||
[iOS (13, 1), Watch (6, 1)]
|
||||
[NoTV]
|
||||
[NoMac]
|
||||
[Static]
|
||||
[Export ("authorization", ArgumentSemantic.Assign)]
|
||||
CBManagerAuthorization _SAuthorization { get; }
|
||||
|
||||
[TV (13,0), Mac (10, 15)]
|
||||
[NoiOS][NoWatch]
|
||||
[TV (13, 0), Mac (10, 15)]
|
||||
[NoiOS]
|
||||
[NoWatch]
|
||||
[Static]
|
||||
[Export ("authorization", ArgumentSemantic.Assign)]
|
||||
CBManagerAuthorization Authorization { get; }
|
||||
}
|
||||
|
||||
[iOS (13,0), TV (13,0), Watch (6,0), NoMac]
|
||||
[iOS (13, 0), TV (13, 0), Watch (6, 0), NoMac]
|
||||
[StrongDictionary ("CBConnectionEventMatchingOptionsKeys")]
|
||||
interface CBConnectionEventMatchingOptions {
|
||||
NSUuid [] PeripheralUuids { get; set; }
|
||||
CBUUID [] ServiceUuids { get; set;}
|
||||
CBUUID [] ServiceUuids { get; set; }
|
||||
}
|
||||
|
||||
[iOS (13,0), TV (13,0), Watch (6,0), NoMac]
|
||||
[iOS (13, 0), TV (13, 0), Watch (6, 0), NoMac]
|
||||
[Static]
|
||||
[Internal]
|
||||
interface CBConnectionEventMatchingOptionsKeys {
|
||||
|
@ -88,38 +91,38 @@ namespace CoreBluetooth {
|
|||
|
||||
[StrongDictionary ("CBConnectPeripheralOptionsKeys")]
|
||||
interface CBConnectPeripheralOptions {
|
||||
[Mac (10,13)]
|
||||
[Mac (10, 13)]
|
||||
bool NotifyOnConnection { get; set; }
|
||||
bool NotifyOnDisconnection { get; set; }
|
||||
[Mac (10,13)]
|
||||
[Mac (10, 13)]
|
||||
bool NotifyOnNotification { get; set; }
|
||||
[iOS (13,0), TV (13,0), Watch (6,0), NoMac]
|
||||
[iOS (13, 0), TV (13, 0), Watch (6, 0), NoMac]
|
||||
bool EnableTransportBridging { get; set; }
|
||||
[iOS (13,0), TV (13,0), Watch (6,0), NoMac]
|
||||
[iOS (13, 0), TV (13, 0), Watch (6, 0), NoMac]
|
||||
bool RequiresAncs { get; set; }
|
||||
}
|
||||
|
||||
[Static]
|
||||
[Internal]
|
||||
interface CBConnectPeripheralOptionsKeys {
|
||||
[Mac (10,13)]
|
||||
[Mac (10, 13)]
|
||||
[Field ("CBConnectPeripheralOptionNotifyOnConnectionKey")]
|
||||
NSString NotifyOnConnectionKey { get; }
|
||||
[Field ("CBConnectPeripheralOptionNotifyOnDisconnectionKey")]
|
||||
NSString NotifyOnDisconnectionKey { get; }
|
||||
[Mac (10,13)]
|
||||
[Mac (10, 13)]
|
||||
[Field ("CBConnectPeripheralOptionNotifyOnNotificationKey")]
|
||||
NSString NotifyOnNotificationKey { get; }
|
||||
[iOS (13,0), TV (13,0), Watch (6,0), NoMac]
|
||||
[iOS (13, 0), TV (13, 0), Watch (6, 0), NoMac]
|
||||
[Field ("CBConnectPeripheralOptionEnableTransportBridgingKey")]
|
||||
NSString EnableTransportBridgingKey { get; }
|
||||
[iOS (13,0), TV (13,0), Watch (6,0), NoMac]
|
||||
[iOS (13, 0), TV (13, 0), Watch (6, 0), NoMac]
|
||||
[Field ("CBConnectPeripheralOptionRequiresANCS")]
|
||||
NSString RequiresAncsKey {get; }
|
||||
NSString RequiresAncsKey { get; }
|
||||
}
|
||||
|
||||
[Watch (4,0)]
|
||||
[BaseType (typeof (CBManager), Delegates=new[] {"WeakDelegate"}, Events = new[] { typeof (CBCentralManagerDelegate)})]
|
||||
[Watch (4, 0)]
|
||||
[BaseType (typeof (CBManager), Delegates = new [] { "WeakDelegate" }, Events = new [] { typeof (CBCentralManagerDelegate) })]
|
||||
[DisableDefaultCtor] // crash (at dispose time) on OSX
|
||||
interface CBCentralManager {
|
||||
|
||||
|
@ -129,18 +132,18 @@ namespace CoreBluetooth {
|
|||
[Wrap ("WeakDelegate")]
|
||||
[Protocolize]
|
||||
CBCentralManagerDelegate Delegate { get; set; }
|
||||
|
||||
|
||||
[Export ("initWithDelegate:queue:")]
|
||||
[PostGet ("WeakDelegate")]
|
||||
NativeHandle Constructor ([NullAllowed, Protocolize] CBCentralManagerDelegate centralDelegate, [NullAllowed] DispatchQueue queue);
|
||||
|
||||
[DesignatedInitializer]
|
||||
[iOS (7,0), Mac (10,9)]
|
||||
[iOS (7, 0), Mac (10, 9)]
|
||||
[Export ("initWithDelegate:queue:options:")]
|
||||
[PostGet ("WeakDelegate")]
|
||||
NativeHandle Constructor ([NullAllowed, Protocolize] CBCentralManagerDelegate centralDelegate, [NullAllowed] DispatchQueue queue, [NullAllowed] NSDictionary options);
|
||||
|
||||
[iOS (7,0), Mac (10,9)]
|
||||
[iOS (7, 0), Mac (10, 9)]
|
||||
[Wrap ("this (centralDelegate, queue, options.GetDictionary ())")]
|
||||
NativeHandle Constructor ([NullAllowed, Protocolize] CBCentralManagerDelegate centralDelegate, [NullAllowed] DispatchQueue queue, CBCentralInitOptions options);
|
||||
|
||||
|
@ -169,87 +172,89 @@ namespace CoreBluetooth {
|
|||
NSString OptionNotifyOnDisconnectionKey { get; }
|
||||
|
||||
[Obsolete ("Use 'CBConnectPeripheralOptions' instead.")]
|
||||
[Mac (10,13)]
|
||||
[Mac (10, 13)]
|
||||
[Field ("CBConnectPeripheralOptionNotifyOnConnectionKey")]
|
||||
NSString OptionNotifyOnConnectionKey { get; }
|
||||
|
||||
[Obsolete ("Use 'CBConnectPeripheralOptions' instead.")]
|
||||
[Mac (10,13)]
|
||||
[Mac (10, 13)]
|
||||
[Field ("CBConnectPeripheralOptionNotifyOnNotificationKey")]
|
||||
NSString OptionNotifyOnNotificationKey { get; }
|
||||
#endif
|
||||
|
||||
[Mac (10,14)]
|
||||
[iOS (11,2)][TV (11,2)][Watch (4,2)]
|
||||
[Mac (10, 14)]
|
||||
[iOS (11, 2)]
|
||||
[TV (11, 2)]
|
||||
[Watch (4, 2)]
|
||||
[Field ("CBConnectPeripheralOptionStartDelayKey")]
|
||||
NSString OptionStartDelayKey { get; }
|
||||
|
||||
[Field ("CBCentralManagerOptionRestoreIdentifierKey")]
|
||||
[iOS (7,0)]
|
||||
[Mac (10,13)]
|
||||
[iOS (7, 0)]
|
||||
[Mac (10, 13)]
|
||||
NSString OptionRestoreIdentifierKey { get; }
|
||||
|
||||
[Field ("CBCentralManagerRestoredStatePeripheralsKey")]
|
||||
[iOS (7,0)]
|
||||
[Mac (10,13)]
|
||||
[iOS (7, 0)]
|
||||
[Mac (10, 13)]
|
||||
NSString RestoredStatePeripheralsKey { get; }
|
||||
|
||||
[Field ("CBCentralManagerRestoredStateScanServicesKey")]
|
||||
[iOS (7,0)]
|
||||
[Mac (10,13)]
|
||||
[iOS (7, 0)]
|
||||
[Mac (10, 13)]
|
||||
NSString RestoredStateScanServicesKey { get; }
|
||||
|
||||
[Field ("CBCentralManagerRestoredStateScanOptionsKey")]
|
||||
[iOS (7,0)]
|
||||
[Mac (10,13)]
|
||||
[iOS (7, 0)]
|
||||
[Mac (10, 13)]
|
||||
NSString RestoredStateScanOptionsKey { get; }
|
||||
|
||||
[iOS (7,0), Mac (10,9)]
|
||||
[iOS (7, 0), Mac (10, 9)]
|
||||
[Export ("retrievePeripheralsWithIdentifiers:")]
|
||||
CBPeripheral [] RetrievePeripheralsWithIdentifiers ([Params] NSUuid [] identifiers);
|
||||
|
||||
[iOS (7,0), Mac (10,9)]
|
||||
[iOS (7, 0), Mac (10, 9)]
|
||||
[Export ("retrieveConnectedPeripheralsWithServices:")]
|
||||
CBPeripheral [] RetrieveConnectedPeripherals ([Params] CBUUID [] serviceUUIDs);
|
||||
CBPeripheral [] RetrieveConnectedPeripherals ([Params] CBUUID [] serviceUUIDs);
|
||||
|
||||
[Field ("CBCentralManagerOptionShowPowerAlertKey")]
|
||||
[iOS (7,0), Mac (10,9)]
|
||||
[iOS (7, 0), Mac (10, 9)]
|
||||
NSString OptionShowPowerAlertKey { get; }
|
||||
|
||||
[iOS (16,0), NoMac, TV(16,0), MacCatalyst (16,0), Watch (9,0)]
|
||||
[iOS (16, 0), NoMac, TV (16, 0), MacCatalyst (16, 0), Watch (9, 0)]
|
||||
[Field ("CBCentralManagerOptionDeviceAccessForMedia")]
|
||||
NSString OptionDeviceAccessForMedia { get; }
|
||||
|
||||
[Field ("CBCentralManagerScanOptionSolicitedServiceUUIDsKey")]
|
||||
[iOS (7,0), Mac (10,9)]
|
||||
[iOS (7, 0), Mac (10, 9)]
|
||||
NSString ScanOptionSolicitedServiceUUIDsKey { get; }
|
||||
|
||||
[iOS (9,0)]
|
||||
[Mac (10,13)]
|
||||
[iOS (9, 0)]
|
||||
[Mac (10, 13)]
|
||||
[Export ("isScanning")]
|
||||
bool IsScanning { get; }
|
||||
|
||||
[iOS (13,0), TV (13,0), Watch (6,0), NoMac]
|
||||
[iOS (13, 0), TV (13, 0), Watch (6, 0), NoMac]
|
||||
[Static]
|
||||
[Export ("supportsFeatures:")]
|
||||
bool SupportsFeatures (CBCentralManagerFeature features);
|
||||
|
||||
[EditorBrowsable (EditorBrowsableState.Advanced)]
|
||||
[iOS (13,0), TV (13,0), Watch (6,0), NoMac]
|
||||
[iOS (13, 0), TV (13, 0), Watch (6, 0), NoMac]
|
||||
[Export ("registerForConnectionEventsWithOptions:")]
|
||||
void RegisterForConnectionEvents ([NullAllowed] NSDictionary options);
|
||||
|
||||
[iOS (13,0), TV (13,0), Watch (6,0), NoMac]
|
||||
[iOS (13, 0), TV (13, 0), Watch (6, 0), NoMac]
|
||||
[Wrap ("RegisterForConnectionEvents (options.GetDictionary ())")]
|
||||
void RegisterForConnectionEvents ([NullAllowed] CBConnectionEventMatchingOptions options);
|
||||
}
|
||||
|
||||
[Watch (4,0)]
|
||||
[Watch (4, 0)]
|
||||
[StrongDictionary ("AdvertisementDataKeys")]
|
||||
interface AdvertisementData {
|
||||
string LocalName { get; set; }
|
||||
NSData ManufacturerData { get; set; }
|
||||
NSDictionary <CBUUID, NSData> ServiceData { get; set; }
|
||||
NSDictionary<CBUUID, NSData> ServiceData { get; set; }
|
||||
CBUUID [] ServiceUuids { get; set; }
|
||||
CBUUID [] OverflowServiceUuids { get; set; }
|
||||
NSNumber TxPowerLevel { get; set; }
|
||||
|
@ -257,7 +262,7 @@ namespace CoreBluetooth {
|
|||
CBUUID [] SolicitedServiceUuids { get; set; }
|
||||
}
|
||||
|
||||
[Watch (4,0)]
|
||||
[Watch (4, 0)]
|
||||
[Static, Internal]
|
||||
interface AdvertisementDataKeys {
|
||||
[Field ("CBAdvertisementDataLocalNameKey")]
|
||||
|
@ -279,20 +284,20 @@ namespace CoreBluetooth {
|
|||
[Field ("CBAdvertisementDataTxPowerLevelKey")]
|
||||
NSString TxPowerLevelKey { get; }
|
||||
|
||||
[iOS (7,0), Mac (10,9)]
|
||||
[iOS (7, 0), Mac (10, 9)]
|
||||
[Field ("CBAdvertisementDataIsConnectable")]
|
||||
NSString IsConnectableKey { get; }
|
||||
|
||||
[iOS (7,0), Mac (10,9)]
|
||||
[iOS (7, 0), Mac (10, 9)]
|
||||
[Field ("CBAdvertisementDataSolicitedServiceUUIDsKey")]
|
||||
NSString SolicitedServiceUuidsKey { get; }
|
||||
}
|
||||
|
||||
[Watch (4,0)]
|
||||
[Watch (4, 0)]
|
||||
[StrongDictionary ("PeripheralScanningOptionsKeys")]
|
||||
interface PeripheralScanningOptions { }
|
||||
|
||||
[Watch (4,0)]
|
||||
[Watch (4, 0)]
|
||||
[StrongDictionary ("RestoredStateKeys")]
|
||||
interface RestoredState {
|
||||
CBPeripheral [] Peripherals { get; set; }
|
||||
|
@ -300,26 +305,26 @@ namespace CoreBluetooth {
|
|||
PeripheralScanningOptions ScanOptions { get; set; }
|
||||
}
|
||||
|
||||
[Watch (4,0)]
|
||||
[Watch (4, 0)]
|
||||
[Static, Internal]
|
||||
interface RestoredStateKeys {
|
||||
[iOS (7,0)]
|
||||
[Mac (10,13)]
|
||||
[iOS (7, 0)]
|
||||
[Mac (10, 13)]
|
||||
[Field ("CBCentralManagerRestoredStatePeripheralsKey")]
|
||||
NSString PeripheralsKey { get; }
|
||||
|
||||
[iOS (7,0)]
|
||||
[Mac (10,13)]
|
||||
[iOS (7, 0)]
|
||||
[Mac (10, 13)]
|
||||
[Field ("CBCentralManagerRestoredStateScanServicesKey")]
|
||||
NSString ScanServicesKey { get; }
|
||||
|
||||
[iOS (7,0)]
|
||||
[Mac (10,13)]
|
||||
[iOS (7, 0)]
|
||||
[Mac (10, 13)]
|
||||
[Field ("CBCentralManagerRestoredStateScanOptionsKey")]
|
||||
NSString ScanOptionsKey { get; }
|
||||
}
|
||||
|
||||
[Watch (4,0)]
|
||||
[Watch (4, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[Model]
|
||||
[Protocol]
|
||||
|
@ -361,82 +366,82 @@ namespace CoreBluetooth {
|
|||
|
||||
[Export ("centralManager:didDisconnectPeripheral:error:"), EventArgs ("CBPeripheralError")]
|
||||
void DisconnectedPeripheral (CBCentralManager central, CBPeripheral peripheral, [NullAllowed] NSError error);
|
||||
|
||||
|
||||
[Export ("centralManager:willRestoreState:"), EventArgs ("CBWillRestore")]
|
||||
void WillRestoreState (CBCentralManager central, NSDictionary dict);
|
||||
|
||||
[iOS (13,0), TV (13,0), Watch (6,0), NoMac]
|
||||
[iOS (13, 0), TV (13, 0), Watch (6, 0), NoMac]
|
||||
[Export ("centralManager:connectionEventDidOccur:forPeripheral:"), EventArgs ("CBPeripheralConnectionEvent")]
|
||||
void ConnectionEventDidOccur (CBCentralManager central, CBConnectionEvent connectionEvent, CBPeripheral peripheral);
|
||||
|
||||
[iOS (13,0), TV (13,0), Watch (6,0), NoMac]
|
||||
[iOS (13, 0), TV (13, 0), Watch (6, 0), NoMac]
|
||||
[Export ("centralManager:didUpdateANCSAuthorizationForPeripheral:"), EventArgs ("CBAncsAuthorizationUpdate")]
|
||||
void DidUpdateAncsAuthorization (CBCentralManager central, CBPeripheral peripheral);
|
||||
}
|
||||
|
||||
[Watch (4,0)]
|
||||
[Watch (4, 0)]
|
||||
[Static]
|
||||
interface CBAdvertisement {
|
||||
[Field ("CBAdvertisementDataServiceUUIDsKey")]
|
||||
NSString DataServiceUUIDsKey { get; }
|
||||
|
||||
|
||||
[Field ("CBAdvertisementDataLocalNameKey")]
|
||||
NSString DataLocalNameKey { get; }
|
||||
|
||||
|
||||
[Field ("CBAdvertisementDataTxPowerLevelKey")]
|
||||
NSString DataTxPowerLevelKey { get; }
|
||||
|
||||
|
||||
[Field ("CBAdvertisementDataManufacturerDataKey")]
|
||||
NSString DataManufacturerDataKey { get; }
|
||||
|
||||
|
||||
[Field ("CBAdvertisementDataServiceDataKey")]
|
||||
NSString DataServiceDataKey { get; }
|
||||
|
||||
[Mac (10,9)]
|
||||
[Mac (10, 9)]
|
||||
[Field ("CBAdvertisementDataOverflowServiceUUIDsKey")]
|
||||
NSString DataOverflowServiceUUIDsKey { get; }
|
||||
|
||||
[iOS (7,0), Mac (10,9)]
|
||||
[iOS (7, 0), Mac (10, 9)]
|
||||
[Field ("CBAdvertisementDataIsConnectable")]
|
||||
NSString IsConnectable { get; }
|
||||
|
||||
[iOS (7,0), Mac (10,9)]
|
||||
[iOS (7, 0), Mac (10, 9)]
|
||||
[Field ("CBAdvertisementDataSolicitedServiceUUIDsKey")]
|
||||
NSString DataSolicitedServiceUUIDsKey { get; }
|
||||
|
||||
}
|
||||
|
||||
[Watch (4,0)]
|
||||
[Watch (4, 0)]
|
||||
[BaseType (typeof (CBAttribute))]
|
||||
[DisableDefaultCtor] // crash (at dispose time) on OSX
|
||||
interface CBCharacteristic {
|
||||
|
||||
|
||||
[Export ("properties")]
|
||||
CBCharacteristicProperties Properties { get; [NotImplemented ("Not available on CBCharacteristic, only available on CBMutableCharacteristic")] set; }
|
||||
|
||||
[NullAllowed]
|
||||
[Export ("value", ArgumentSemantic.Retain)]
|
||||
NSData Value { get; [NotImplemented ("Not available on CBCharacteristic, only available on CBMutableCharacteristic")] set; }
|
||||
NSData Value { get; [NotImplemented ("Not available on CBCharacteristic, only available on CBMutableCharacteristic")] set; }
|
||||
|
||||
[NullAllowed]
|
||||
[Export ("descriptors", ArgumentSemantic.Retain)]
|
||||
CBDescriptor [] Descriptors { get; [NotImplemented ("Not available on CBCharacteristic, only available on CBMutableCharacteristic")] set; }
|
||||
|
||||
[Deprecated (PlatformName.iOS, 8,0)]
|
||||
[Deprecated (PlatformName.MacOSX, 10,13)]
|
||||
[Deprecated (PlatformName.iOS, 8, 0)]
|
||||
[Deprecated (PlatformName.MacOSX, 10, 13)]
|
||||
[Export ("isBroadcasted")]
|
||||
bool IsBroadcasted { get; }
|
||||
bool IsBroadcasted { get; }
|
||||
|
||||
[Export ("isNotifying")]
|
||||
bool IsNotifying { get; }
|
||||
bool IsNotifying { get; }
|
||||
|
||||
[NullAllowed]
|
||||
[Export ("service", ArgumentSemantic.Weak)]
|
||||
CBService Service { get; }
|
||||
}
|
||||
|
||||
[Watch (4,0)]
|
||||
[Mac (10,9)]
|
||||
[Watch (4, 0)]
|
||||
[Mac (10, 9)]
|
||||
[BaseType (typeof (CBCharacteristic))]
|
||||
[DisableDefaultCtor]
|
||||
interface CBMutableCharacteristic {
|
||||
|
@ -466,27 +471,27 @@ namespace CoreBluetooth {
|
|||
[Override]
|
||||
CBDescriptor [] Descriptors { get; set; }
|
||||
|
||||
[iOS (7,0), Export ("subscribedCentrals")]
|
||||
[iOS (7, 0), Export ("subscribedCentrals")]
|
||||
[NullAllowed]
|
||||
CBCentral [] SubscribedCentrals { get; }
|
||||
}
|
||||
|
||||
[Watch (4,0)]
|
||||
[Watch (4, 0)]
|
||||
[BaseType (typeof (CBAttribute))]
|
||||
[DisableDefaultCtor] // crash (at dispose time) on OSX
|
||||
interface CBDescriptor {
|
||||
|
||||
|
||||
[Export ("value", ArgumentSemantic.Retain)]
|
||||
[NullAllowed]
|
||||
NSObject Value { get; }
|
||||
NSObject Value { get; }
|
||||
|
||||
[NullAllowed]
|
||||
[Export ("characteristic", ArgumentSemantic.Weak)]
|
||||
CBCharacteristic Characteristic { get; }
|
||||
}
|
||||
|
||||
[Watch (4,0)]
|
||||
[Mac (10,9)]
|
||||
[Watch (4, 0)]
|
||||
[Mac (10, 9)]
|
||||
[BaseType (typeof (CBDescriptor))]
|
||||
[DisableDefaultCtor]
|
||||
interface CBMutableDescriptor {
|
||||
|
@ -499,21 +504,21 @@ namespace CoreBluetooth {
|
|||
NativeHandle Constructor (CBUUID uuid, [NullAllowed] NSObject descriptorValue);
|
||||
}
|
||||
|
||||
[Watch (4,0)]
|
||||
[BaseType (typeof (CBPeer), Delegates=new string [] { "WeakDelegate" }, Events=new Type [] {typeof (CBPeripheralDelegate)})]
|
||||
[Watch (4, 0)]
|
||||
[BaseType (typeof (CBPeer), Delegates = new string [] { "WeakDelegate" }, Events = new Type [] { typeof (CBPeripheralDelegate) })]
|
||||
[DisableDefaultCtor] // crash (at dispose time) on OSX
|
||||
interface CBPeripheral : NSCopying {
|
||||
[Export ("name", ArgumentSemantic.Retain)]
|
||||
[DisableZeroCopy]
|
||||
[NullAllowed]
|
||||
string Name { get; }
|
||||
string Name { get; }
|
||||
|
||||
[Deprecated (PlatformName.iOS, 8,0)]
|
||||
[Deprecated (PlatformName.MacOSX, 10,13)]
|
||||
[Deprecated (PlatformName.iOS, 8, 0)]
|
||||
[Deprecated (PlatformName.MacOSX, 10, 13)]
|
||||
[NoWatch]
|
||||
[Export ("RSSI", ArgumentSemantic.Retain)]
|
||||
[NullAllowed]
|
||||
NSNumber RSSI { get; }
|
||||
NSNumber RSSI { get; }
|
||||
|
||||
#if !NET
|
||||
[NoTV]
|
||||
|
@ -521,12 +526,12 @@ namespace CoreBluetooth {
|
|||
[Deprecated (PlatformName.iOS, 7, 0)]
|
||||
[Obsoleted (PlatformName.iOS, 9, 0)]
|
||||
[Export ("isConnected")]
|
||||
bool IsConnected { get; }
|
||||
bool IsConnected { get; }
|
||||
#endif
|
||||
|
||||
[Export ("services", ArgumentSemantic.Retain)]
|
||||
[NullAllowed]
|
||||
CBService [] Services { get; }
|
||||
CBService [] Services { get; }
|
||||
|
||||
[Export ("delegate", ArgumentSemantic.Weak), NullAllowed]
|
||||
NSObject WeakDelegate { get; set; }
|
||||
|
@ -534,7 +539,7 @@ namespace CoreBluetooth {
|
|||
[Wrap ("WeakDelegate")]
|
||||
[Protocolize]
|
||||
CBPeripheralDelegate Delegate { get; set; }
|
||||
|
||||
|
||||
[Export ("readRSSI")]
|
||||
void ReadRSSI ();
|
||||
|
||||
|
@ -565,39 +570,44 @@ namespace CoreBluetooth {
|
|||
[Export ("writeValue:forDescriptor:")]
|
||||
void WriteValue (NSData data, CBDescriptor descriptor);
|
||||
|
||||
[iOS (9,0)][Mac (10,12)]
|
||||
[iOS (9, 0)]
|
||||
[Mac (10, 12)]
|
||||
[Export ("maximumWriteValueLengthForType:")]
|
||||
nuint GetMaximumWriteValueLength (CBCharacteristicWriteType type);
|
||||
|
||||
[iOS (7,0), Mac (10,9)]
|
||||
[iOS (7, 0), Mac (10, 9)]
|
||||
[Export ("state")]
|
||||
CBPeripheralState State { get; }
|
||||
|
||||
[iOS (11,0)][TV (11,0)][Mac (10,13)]
|
||||
[iOS (11, 0)]
|
||||
[TV (11, 0)]
|
||||
[Mac (10, 13)]
|
||||
[Export ("canSendWriteWithoutResponse")]
|
||||
bool CanSendWriteWithoutResponse { get; }
|
||||
|
||||
[iOS (11,0)][TV (11,0)][Mac (10,13)]
|
||||
[iOS (11, 0)]
|
||||
[TV (11, 0)]
|
||||
[Mac (10, 13)]
|
||||
[Export ("openL2CAPChannel:")]
|
||||
void OpenL2CapChannel (ushort psm);
|
||||
|
||||
[iOS (13, 0), TV (13,0), Watch (6,0), NoMac]
|
||||
[iOS (13, 0), TV (13, 0), Watch (6, 0), NoMac]
|
||||
[Export ("ancsAuthorized")]
|
||||
bool AncsAuthorized { get; }
|
||||
}
|
||||
|
||||
[Watch (4,0)]
|
||||
[Watch (4, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[Model]
|
||||
[Protocol]
|
||||
interface CBPeripheralDelegate {
|
||||
[Deprecated (PlatformName.MacOSX, 10, 13, message : "Use 'RssiRead' instead.")]
|
||||
[Deprecated (PlatformName.iOS, 8, 0, message : "Use 'RssiRead' instead.")]
|
||||
[Deprecated (PlatformName.MacOSX, 10, 13, message: "Use 'RssiRead' instead.")]
|
||||
[Deprecated (PlatformName.iOS, 8, 0, message: "Use 'RssiRead' instead.")]
|
||||
[Export ("peripheralDidUpdateRSSI:error:"), EventArgs ("NSError", true)]
|
||||
void RssiUpdated (CBPeripheral peripheral, [NullAllowed] NSError error);
|
||||
|
||||
[iOS (8,0)]
|
||||
[Mac (10,13)]
|
||||
[iOS (8, 0)]
|
||||
[Mac (10, 13)]
|
||||
[Export ("peripheral:didReadRSSI:error:"), EventArgs ("CBRssi")]
|
||||
void RssiRead (CBPeripheral peripheral, NSNumber rssi, [NullAllowed] NSError error);
|
||||
|
||||
|
@ -606,7 +616,7 @@ namespace CoreBluetooth {
|
|||
void DiscoveredService (CBPeripheral peripheral, [NullAllowed] NSError error);
|
||||
|
||||
[Export ("peripheral:didDiscoverIncludedServicesForService:error:"), EventArgs ("CBService")]
|
||||
void DiscoveredIncludedService (CBPeripheral peripheral, CBService service, [NullAllowed] NSError error);
|
||||
void DiscoveredIncludedService (CBPeripheral peripheral, CBService service, [NullAllowed] NSError error);
|
||||
|
||||
[Export ("peripheral:didDiscoverCharacteristicsForService:error:"), EventArgs ("CBService")]
|
||||
#if NET
|
||||
|
@ -614,10 +624,10 @@ namespace CoreBluetooth {
|
|||
#else
|
||||
void DiscoveredCharacteristic (CBPeripheral peripheral, CBService service, [NullAllowed] NSError error);
|
||||
#endif
|
||||
|
||||
|
||||
[Export ("peripheral:didUpdateValueForCharacteristic:error:"), EventArgs ("CBCharacteristic")]
|
||||
void UpdatedCharacterteristicValue (CBPeripheral peripheral, CBCharacteristic characteristic, [NullAllowed] NSError error);
|
||||
|
||||
|
||||
[Export ("peripheral:didWriteValueForCharacteristic:error:"), EventArgs ("CBCharacteristic")]
|
||||
void WroteCharacteristicValue (CBPeripheral peripheral, CBCharacteristic characteristic, [NullAllowed] NSError error);
|
||||
|
||||
|
@ -640,31 +650,35 @@ namespace CoreBluetooth {
|
|||
[Obsoleted (PlatformName.iOS, 8, 4)]
|
||||
[NoMacCatalyst]
|
||||
[Export ("peripheralDidInvalidateServices:")]
|
||||
void InvalidatedService (CBPeripheral peripheral);
|
||||
void InvalidatedService (CBPeripheral peripheral);
|
||||
#endif // !NET
|
||||
|
||||
[Export ("peripheralDidUpdateName:")]
|
||||
void UpdatedName (CBPeripheral peripheral);
|
||||
|
||||
[iOS (7,0)]
|
||||
[iOS (7, 0)]
|
||||
[Export ("peripheral:didModifyServices:"), EventArgs ("CBPeripheralServices")]
|
||||
void ModifiedServices (CBPeripheral peripheral, CBService [] services);
|
||||
|
||||
[iOS (11,0)][TV (11,0)][Mac (10,13)]
|
||||
[iOS (11, 0)]
|
||||
[TV (11, 0)]
|
||||
[Mac (10, 13)]
|
||||
[EventArgs ("CBPeripheralOpenL2CapChannel")]
|
||||
[Export ("peripheral:didOpenL2CAPChannel:error:")]
|
||||
void DidOpenL2CapChannel (CBPeripheral peripheral, [NullAllowed] CBL2CapChannel channel, [NullAllowed] NSError error);
|
||||
|
||||
[iOS (11,0)][TV (11,0)][Mac (10,13)]
|
||||
[iOS (11, 0)]
|
||||
[TV (11, 0)]
|
||||
[Mac (10, 13)]
|
||||
[Export ("peripheralIsReadyToSendWriteWithoutResponse:")]
|
||||
void IsReadyToSendWriteWithoutResponse (CBPeripheral peripheral);
|
||||
}
|
||||
|
||||
[Watch (4,0)]
|
||||
[Watch (4, 0)]
|
||||
[BaseType (typeof (CBAttribute))]
|
||||
[DisableDefaultCtor] // crash (at dispose time) on OSX
|
||||
interface CBService {
|
||||
[Mac (10,9)]
|
||||
[Mac (10, 9)]
|
||||
[Export ("isPrimary")]
|
||||
#if NET
|
||||
bool Primary { get; }
|
||||
|
@ -674,20 +688,20 @@ namespace CoreBluetooth {
|
|||
|
||||
[Export ("includedServices", ArgumentSemantic.Retain)]
|
||||
[NullAllowed]
|
||||
CBService [] IncludedServices { get; [NotImplemented ("Not available on 'CBService', only available on CBMutableService.")] set; }
|
||||
CBService [] IncludedServices { get; [NotImplemented ("Not available on 'CBService', only available on CBMutableService.")] set; }
|
||||
|
||||
[Export ("characteristics", ArgumentSemantic.Retain)]
|
||||
[NullAllowed]
|
||||
CBCharacteristic [] Characteristics { get; [NotImplemented ("Not available on 'CBService', only available on CBMutableService.")] set; }
|
||||
CBCharacteristic [] Characteristics { get; [NotImplemented ("Not available on 'CBService', only available on CBMutableService.")] set; }
|
||||
|
||||
[NullAllowed]
|
||||
[Export ("peripheral", ArgumentSemantic.Weak)]
|
||||
CBPeripheral Peripheral { get; }
|
||||
|
||||
}
|
||||
|
||||
[Watch (4,0)]
|
||||
[Mac(10,9)]
|
||||
|
||||
[Watch (4, 0)]
|
||||
[Mac (10, 9)]
|
||||
[BaseType (typeof (CBService))]
|
||||
[DisableDefaultCtor]
|
||||
interface CBMutableService {
|
||||
|
@ -701,20 +715,20 @@ namespace CoreBluetooth {
|
|||
[Export ("includedServices", ArgumentSemantic.Retain)]
|
||||
[Override]
|
||||
[NullAllowed]
|
||||
CBService[] IncludedServices { get; set; } // TODO: check array type
|
||||
CBService [] IncludedServices { get; set; } // TODO: check array type
|
||||
|
||||
[Export ("characteristics", ArgumentSemantic.Retain)]
|
||||
[Override]
|
||||
[NullAllowed]
|
||||
CBCharacteristic[] Characteristics { get; set; } // TODO: check array type
|
||||
CBCharacteristic [] Characteristics { get; set; } // TODO: check array type
|
||||
}
|
||||
|
||||
[Watch (4,0)]
|
||||
[Watch (4, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor] // crash (at dispose time) on OSX
|
||||
interface CBUUID : NSCopying {
|
||||
[Export ("data")]
|
||||
NSData Data{ get; }
|
||||
NSData Data { get; }
|
||||
|
||||
[Static]
|
||||
[MarshalNativeExceptions]
|
||||
|
@ -731,9 +745,9 @@ namespace CoreBluetooth {
|
|||
[Static]
|
||||
[Export ("UUIDWithCFUUID:")]
|
||||
CBUUID FromCFUUID (IntPtr theUUID);
|
||||
|
||||
|
||||
[Static]
|
||||
[iOS (7,0), Mac (10,9)]
|
||||
[iOS (7, 0), Mac (10, 9)]
|
||||
[Export ("UUIDWithNSUUID:")]
|
||||
CBUUID FromNSUuid (NSUuid theUUID);
|
||||
|
||||
|
@ -772,7 +786,10 @@ namespace CoreBluetooth {
|
|||
[Introduced (PlatformName.MacOSX, 10, 12)]
|
||||
[Deprecated (PlatformName.MacOSX, 10, 13)]
|
||||
[Obsoleted (PlatformName.MacOSX, 10, 13)]
|
||||
[NoiOS][NoTV][NoWatch][NoMacCatalyst]
|
||||
[NoiOS]
|
||||
[NoTV]
|
||||
[NoWatch]
|
||||
[NoMacCatalyst]
|
||||
NSString CBUUIDValidRangeString { get; }
|
||||
|
||||
#if MONOMAC && !NET
|
||||
|
@ -781,18 +798,18 @@ namespace CoreBluetooth {
|
|||
[Field ("CBUUIDCharacteristicValidRangeString")]
|
||||
NSString CBUUIDCharacteristicValidRangeString { get; }
|
||||
#else
|
||||
[iOS (10,0)]
|
||||
[TV (10,0)]
|
||||
[Watch (4,0)]
|
||||
[Mac (10,13)]
|
||||
[MacCatalyst (13,0)]
|
||||
[iOS (10, 0)]
|
||||
[TV (10, 0)]
|
||||
[Watch (4, 0)]
|
||||
[Mac (10, 13)]
|
||||
[MacCatalyst (13, 0)]
|
||||
[Field ("CBUUIDCharacteristicValidRangeString")]
|
||||
NSString CharacteristicValidRangeString { get; }
|
||||
#endif
|
||||
|
||||
[iOS (11,0)]
|
||||
[TV (11,0)]
|
||||
[Mac (10,13)]
|
||||
[iOS (11, 0)]
|
||||
[TV (11, 0)]
|
||||
[Mac (10, 13)]
|
||||
[Field ("CBUUIDL2CAPPSMCharacteristicString")]
|
||||
NSString L2CapPsmCharacteristicString { get; }
|
||||
|
||||
|
@ -828,13 +845,14 @@ namespace CoreBluetooth {
|
|||
NSString ServiceChangedString { get; }
|
||||
#endif // !XAMCORE_3_0 && !NET
|
||||
|
||||
[iOS (7,1)][Mac (10,10)]
|
||||
[iOS (7, 1)]
|
||||
[Mac (10, 10)]
|
||||
[Export ("UUIDString")]
|
||||
string Uuid { get; }
|
||||
}
|
||||
|
||||
[Watch (4,0)]
|
||||
[Mac(10,9)]
|
||||
|
||||
[Watch (4, 0)]
|
||||
[Mac (10, 9)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CBATTRequest {
|
||||
|
@ -849,29 +867,32 @@ namespace CoreBluetooth {
|
|||
|
||||
[Export ("value", ArgumentSemantic.Copy)]
|
||||
[NullAllowed]
|
||||
NSData Value { get; set; }
|
||||
NSData Value { get; set; }
|
||||
}
|
||||
|
||||
[Mac (10,9)]
|
||||
[Watch (4,0)]
|
||||
[Mac (10, 9)]
|
||||
[Watch (4, 0)]
|
||||
[BaseType (typeof (CBPeer))]
|
||||
// `delloc` a default instance crash applications and a default instance, without the ability to change the UUID, does not make sense
|
||||
[DisableDefaultCtor]
|
||||
interface CBCentral : NSCopying {
|
||||
[NoiOS][NoTV][NoWatch][NoMacCatalyst]
|
||||
[NoiOS]
|
||||
[NoTV]
|
||||
[NoWatch]
|
||||
[NoMacCatalyst]
|
||||
[Export ("identifier")]
|
||||
NSUuid Identifier { get; }
|
||||
|
||||
// Introduced with iOS7, but does not have NS_AVAILABLE
|
||||
[iOS (7,0)]
|
||||
[iOS (7, 0)]
|
||||
[Export ("maximumUpdateValueLength")]
|
||||
nuint MaximumUpdateValueLength { get; }
|
||||
}
|
||||
|
||||
[Watch (4,0)]
|
||||
[Mac(10,9)]
|
||||
[Watch (4, 0)]
|
||||
[Mac (10, 9)]
|
||||
[DisableDefaultCtor]
|
||||
[BaseType (typeof (CBManager), Delegates=new[] { "WeakDelegate" }, Events=new[] { typeof (CBPeripheralManagerDelegate) })]
|
||||
[BaseType (typeof (CBManager), Delegates = new [] { "WeakDelegate" }, Events = new [] { typeof (CBPeripheralManagerDelegate) })]
|
||||
interface CBPeripheralManager {
|
||||
|
||||
[Export ("init")]
|
||||
|
@ -886,7 +907,7 @@ namespace CoreBluetooth {
|
|||
[NoTV]
|
||||
[NoWatch]
|
||||
[DesignatedInitializer]
|
||||
[iOS (7,0)]
|
||||
[iOS (7, 0)]
|
||||
[Export ("initWithDelegate:queue:options:")]
|
||||
[PostGet ("WeakDelegate")]
|
||||
NativeHandle Constructor ([NullAllowed][Protocolize] CBPeripheralManagerDelegate peripheralDelegate, [NullAllowed] DispatchQueue queue, [NullAllowed] NSDictionary options);
|
||||
|
@ -928,45 +949,49 @@ namespace CoreBluetooth {
|
|||
void SetDesiredConnectionLatency (CBPeripheralManagerConnectionLatency latency, CBCentral connectedCentral);
|
||||
|
||||
[Export ("updateValue:forCharacteristic:onSubscribedCentrals:")]
|
||||
bool UpdateValue (NSData value, CBMutableCharacteristic characteristic, [NullAllowed] CBCentral[] subscribedCentrals);
|
||||
bool UpdateValue (NSData value, CBMutableCharacteristic characteristic, [NullAllowed] CBCentral [] subscribedCentrals);
|
||||
|
||||
[iOS (11,0)][TV (11,0)][Mac (10,13)]
|
||||
[iOS (11, 0)]
|
||||
[TV (11, 0)]
|
||||
[Mac (10, 13)]
|
||||
[Export ("publishL2CAPChannelWithEncryption:")]
|
||||
void PublishL2CapChannel (bool encryptionRequired);
|
||||
|
||||
[iOS (11,0)][TV (11,0)][Mac (10,13)]
|
||||
[iOS (11, 0)]
|
||||
[TV (11, 0)]
|
||||
[Mac (10, 13)]
|
||||
[Export ("unpublishL2CAPChannel:")]
|
||||
void UnpublishL2CapChannel (ushort psm);
|
||||
|
||||
[Field ("CBPeripheralManagerOptionShowPowerAlertKey")]
|
||||
[iOS (7,0)]
|
||||
[iOS (7, 0)]
|
||||
NSString OptionShowPowerAlertKey { get; }
|
||||
|
||||
[Field ("CBPeripheralManagerOptionRestoreIdentifierKey")]
|
||||
[iOS (7,0)]
|
||||
[iOS (7, 0)]
|
||||
NSString OptionRestoreIdentifierKey { get; }
|
||||
|
||||
[Field ("CBPeripheralManagerRestoredStateServicesKey")]
|
||||
[iOS (7,0)]
|
||||
[iOS (7, 0)]
|
||||
NSString RestoredStateServicesKey { get; }
|
||||
|
||||
[Field ("CBPeripheralManagerRestoredStateAdvertisementDataKey")]
|
||||
[iOS (7,0)]
|
||||
[iOS (7, 0)]
|
||||
NSString RestoredStateAdvertisementDataKey { get; }
|
||||
|
||||
#if !NET
|
||||
[Deprecated (PlatformName.iOS, 13, 0, message: "Use 'CBManager.Authorization' instead.")]
|
||||
[Deprecated (PlatformName.TvOS, 13, 0, message: "Use 'CBManager.Authorization' instead.")]
|
||||
[Deprecated (PlatformName.MacOSX, 10, 15, message: "Use 'CBManager.Authorization' instead.")]
|
||||
[iOS (7,0)]
|
||||
[iOS (7, 0)]
|
||||
[Static]
|
||||
[Export ("authorizationStatus")]
|
||||
CBPeripheralManagerAuthorizationStatus AuthorizationStatus { get; }
|
||||
#endif // !NET
|
||||
}
|
||||
|
||||
[Watch (4,0)]
|
||||
[Mac(10,9)]
|
||||
[Watch (4, 0)]
|
||||
[Mac (10, 9)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[Model]
|
||||
[Protocol]
|
||||
|
@ -994,30 +1019,36 @@ namespace CoreBluetooth {
|
|||
void ReadRequestReceived (CBPeripheralManager peripheral, CBATTRequest request);
|
||||
|
||||
[Export ("peripheralManager:didReceiveWriteRequests:"), EventArgs ("CBATTRequests")]
|
||||
void WriteRequestsReceived (CBPeripheralManager peripheral, CBATTRequest[] requests);
|
||||
void WriteRequestsReceived (CBPeripheralManager peripheral, CBATTRequest [] requests);
|
||||
|
||||
[Export ("peripheralManagerIsReadyToUpdateSubscribers:")]
|
||||
void ReadyToUpdateSubscribers (CBPeripheralManager peripheral);
|
||||
|
||||
[iOS (11,0)][TV (11,0)][Mac (10,13)]
|
||||
[iOS (11, 0)]
|
||||
[TV (11, 0)]
|
||||
[Mac (10, 13)]
|
||||
[EventArgs ("CBPeripheralManagerOpenL2CapChannel")]
|
||||
[Export ("peripheralManager:didOpenL2CAPChannel:error:")]
|
||||
void DidOpenL2CapChannel (CBPeripheralManager peripheral, [NullAllowed] CBL2CapChannel channel, [NullAllowed] NSError error);
|
||||
|
||||
[iOS (11,0)][TV (11,0)][Mac (10,13)]
|
||||
[iOS (11, 0)]
|
||||
[TV (11, 0)]
|
||||
[Mac (10, 13)]
|
||||
[EventArgs ("CBPeripheralManagerL2CapChannelOperation")]
|
||||
[Export ("peripheralManager:didUnpublishL2CAPChannel:error:")]
|
||||
void DidUnpublishL2CapChannel (CBPeripheralManager peripheral, ushort psm, [NullAllowed] NSError error);
|
||||
|
||||
[iOS (11,0)][TV (11,0)][Mac (10,13)]
|
||||
[iOS (11, 0)]
|
||||
[TV (11, 0)]
|
||||
[Mac (10, 13)]
|
||||
[EventArgs ("CBPeripheralManagerL2CapChannelOperation")]
|
||||
[Export ("peripheralManager:didPublishL2CAPChannel:error:")]
|
||||
void DidPublishL2CapChannel (CBPeripheralManager peripheral, ushort psm, [NullAllowed] NSError error);
|
||||
}
|
||||
|
||||
[iOS (8, 0)]
|
||||
[Mac (10,13)]
|
||||
[Watch (4,0)]
|
||||
[Mac (10, 13)]
|
||||
[Watch (4, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor] // CBPeer.h: - (instancetype)init NS_UNAVAILABLE;
|
||||
interface CBPeer : NSCopying {
|
||||
|
@ -1029,16 +1060,19 @@ namespace CoreBluetooth {
|
|||
[Deprecated (PlatformName.iOS, 7, 0)]
|
||||
[Obsoleted (PlatformName.iOS, 9, 0)]
|
||||
[Export ("UUID")]
|
||||
IntPtr _UUID { get; }
|
||||
IntPtr _UUID { get; }
|
||||
#endif
|
||||
|
||||
|
||||
[iOS (7, 0)]
|
||||
[Export ("identifier")]
|
||||
NSUuid Identifier { get; }
|
||||
}
|
||||
|
||||
// The type is available in 32bits macOS 10.13 even if most properties are 64 bits only
|
||||
[Watch (4,0)][iOS (11,0)][TV (11,0)][Mac (10,13)]
|
||||
[Watch (4, 0)]
|
||||
[iOS (11, 0)]
|
||||
[TV (11, 0)]
|
||||
[Mac (10, 13)]
|
||||
[BaseType (typeof (NSObject), Name = "CBL2CAPChannel")]
|
||||
interface CBL2CapChannel {
|
||||
|
||||
|
@ -1052,6 +1086,7 @@ namespace CoreBluetooth {
|
|||
NSOutputStream OutputStream { get; }
|
||||
|
||||
[Export ("PSM")]
|
||||
/* uint16_t */ ushort Psm { get; }
|
||||
/* uint16_t */
|
||||
ushort Psm { get; }
|
||||
}
|
||||
}
|
||||
|
|
620
src/coredata.cs
620
src/coredata.cs
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -13,26 +13,32 @@ namespace CoreFoundation {
|
|||
[Partial]
|
||||
interface CFAllocator {
|
||||
|
||||
[Internal][Field ("kCFAllocatorDefault")]
|
||||
[Internal]
|
||||
[Field ("kCFAllocatorDefault")]
|
||||
IntPtr default_ptr { get; }
|
||||
|
||||
[Internal][Field ("kCFAllocatorSystemDefault")]
|
||||
[Internal]
|
||||
[Field ("kCFAllocatorSystemDefault")]
|
||||
IntPtr system_default_ptr { get; }
|
||||
|
||||
[Internal][Field ("kCFAllocatorMalloc")]
|
||||
[Internal]
|
||||
[Field ("kCFAllocatorMalloc")]
|
||||
IntPtr malloc_ptr { get; }
|
||||
|
||||
[Internal][Field ("kCFAllocatorMallocZone")]
|
||||
[Internal]
|
||||
[Field ("kCFAllocatorMallocZone")]
|
||||
IntPtr malloc_zone_ptr { get; }
|
||||
|
||||
[Internal][Field ("kCFAllocatorNull")]
|
||||
[Internal]
|
||||
[Field ("kCFAllocatorNull")]
|
||||
IntPtr null_ptr { get; }
|
||||
}
|
||||
|
||||
[Partial]
|
||||
interface CFArray {
|
||||
|
||||
[Internal][Field ("kCFNull")]
|
||||
[Internal]
|
||||
[Field ("kCFNull")]
|
||||
IntPtr /* CFNullRef */ _CFNullHandle { get; }
|
||||
}
|
||||
|
||||
|
@ -124,15 +130,14 @@ namespace CoreFoundation {
|
|||
StripDiacritics,
|
||||
}
|
||||
|
||||
[Mac (10,12), iOS (10,0), Watch (3,0), TV (10,0)]
|
||||
[Mac (10, 12), iOS (10, 0), Watch (3, 0), TV (10, 0)]
|
||||
[Introduced (PlatformName.MacCatalyst, 13, 0)]
|
||||
public enum OSLogLevel : byte
|
||||
{
|
||||
public enum OSLogLevel : byte {
|
||||
// These values must match the os_log_type_t enum in <os/log.h>.
|
||||
Default = 0x00,
|
||||
Info = 0x01,
|
||||
Debug = 0x02,
|
||||
Error = 0x10,
|
||||
Fault = 0x11,
|
||||
Info = 0x01,
|
||||
Debug = 0x02,
|
||||
Error = 0x10,
|
||||
Fault = 0x11,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,53 +13,68 @@ namespace CoreGraphics {
|
|||
[Partial]
|
||||
interface CGPDFPageInfo {
|
||||
|
||||
[Internal][Field ("kCGPDFContextMediaBox")]
|
||||
[Internal]
|
||||
[Field ("kCGPDFContextMediaBox")]
|
||||
IntPtr kCGPDFContextMediaBox { get; }
|
||||
|
||||
[Internal][Field ("kCGPDFContextCropBox")]
|
||||
[Internal]
|
||||
[Field ("kCGPDFContextCropBox")]
|
||||
IntPtr kCGPDFContextCropBox { get; }
|
||||
|
||||
[Internal][Field ("kCGPDFContextBleedBox")]
|
||||
[Internal]
|
||||
[Field ("kCGPDFContextBleedBox")]
|
||||
IntPtr kCGPDFContextBleedBox { get; }
|
||||
|
||||
[Internal][Field ("kCGPDFContextTrimBox")]
|
||||
[Internal]
|
||||
[Field ("kCGPDFContextTrimBox")]
|
||||
IntPtr kCGPDFContextTrimBox { get; }
|
||||
|
||||
[Internal][Field ("kCGPDFContextArtBox")]
|
||||
[Internal]
|
||||
[Field ("kCGPDFContextArtBox")]
|
||||
IntPtr kCGPDFContextArtBox { get; }
|
||||
}
|
||||
|
||||
[Partial]
|
||||
interface CGPDFInfo {
|
||||
|
||||
[Internal][Field ("kCGPDFContextTitle")]
|
||||
[Internal]
|
||||
[Field ("kCGPDFContextTitle")]
|
||||
IntPtr kCGPDFContextTitle { get; }
|
||||
|
||||
[Internal][Field ("kCGPDFContextAuthor")]
|
||||
[Internal]
|
||||
[Field ("kCGPDFContextAuthor")]
|
||||
IntPtr kCGPDFContextAuthor { get; }
|
||||
|
||||
[Internal][Field ("kCGPDFContextSubject")]
|
||||
[Internal]
|
||||
[Field ("kCGPDFContextSubject")]
|
||||
IntPtr kCGPDFContextSubject { get; }
|
||||
|
||||
[Internal][Field ("kCGPDFContextKeywords")]
|
||||
[Internal]
|
||||
[Field ("kCGPDFContextKeywords")]
|
||||
IntPtr kCGPDFContextKeywords { get; }
|
||||
|
||||
[Internal][Field ("kCGPDFContextCreator")]
|
||||
[Internal]
|
||||
[Field ("kCGPDFContextCreator")]
|
||||
IntPtr kCGPDFContextCreator { get; }
|
||||
|
||||
[Internal][Field ("kCGPDFContextOwnerPassword")]
|
||||
[Internal]
|
||||
[Field ("kCGPDFContextOwnerPassword")]
|
||||
IntPtr kCGPDFContextOwnerPassword { get; }
|
||||
|
||||
[Internal][Field ("kCGPDFContextUserPassword")]
|
||||
[Internal]
|
||||
[Field ("kCGPDFContextUserPassword")]
|
||||
IntPtr kCGPDFContextUserPassword { get; }
|
||||
|
||||
[Internal][Field ("kCGPDFContextEncryptionKeyLength")]
|
||||
[Internal]
|
||||
[Field ("kCGPDFContextEncryptionKeyLength")]
|
||||
IntPtr kCGPDFContextEncryptionKeyLength { get; }
|
||||
|
||||
[Internal][Field ("kCGPDFContextAllowsPrinting")]
|
||||
[Internal]
|
||||
[Field ("kCGPDFContextAllowsPrinting")]
|
||||
IntPtr kCGPDFContextAllowsPrinting { get; }
|
||||
|
||||
[Internal][Field ("kCGPDFContextAllowsCopying")]
|
||||
[Internal]
|
||||
[Field ("kCGPDFContextAllowsCopying")]
|
||||
IntPtr kCGPDFContextAllowsCopying { get; }
|
||||
|
||||
#if false
|
||||
|
@ -73,23 +88,35 @@ namespace CoreGraphics {
|
|||
kCGPDFContextOutputIntents;
|
||||
#endif
|
||||
|
||||
[Mac (10,13)][iOS (11,0)][TV (11,0)][Watch (4,0)]
|
||||
[Internal][Field ("kCGPDFContextAccessPermissions")]
|
||||
[Mac (10, 13)]
|
||||
[iOS (11, 0)]
|
||||
[TV (11, 0)]
|
||||
[Watch (4, 0)]
|
||||
[Internal]
|
||||
[Field ("kCGPDFContextAccessPermissions")]
|
||||
IntPtr kCGPDFContextAccessPermissions { get; }
|
||||
|
||||
[Mac (11,0)][iOS (14,0)][TV (14,0)][Watch (7,0)]
|
||||
[MacCatalyst (14,0)]
|
||||
[Internal][Field ("kCGPDFContextCreateLinearizedPDF")]
|
||||
[Mac (11, 0)]
|
||||
[iOS (14, 0)]
|
||||
[TV (14, 0)]
|
||||
[Watch (7, 0)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Internal]
|
||||
[Field ("kCGPDFContextCreateLinearizedPDF")]
|
||||
IntPtr kCGPDFContextCreateLinearizedPDF { get; }
|
||||
|
||||
[Mac (11,0)][iOS (14,0)][TV (14,0)][Watch (7,0)]
|
||||
[MacCatalyst (14,0)]
|
||||
[Internal][Field ("kCGPDFContextCreatePDFA")]
|
||||
[Mac (11, 0)]
|
||||
[iOS (14, 0)]
|
||||
[TV (14, 0)]
|
||||
[Watch (7, 0)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Internal]
|
||||
[Field ("kCGPDFContextCreatePDFA")]
|
||||
IntPtr kCGPDFContextCreatePDFA { get; }
|
||||
}
|
||||
|
||||
[Static]
|
||||
[iOS (9,0)]
|
||||
[iOS (9, 0)]
|
||||
interface CGColorSpaceNames {
|
||||
[Field ("kCGColorSpaceGenericGray")]
|
||||
NSString GenericGray { get; }
|
||||
|
@ -100,8 +127,9 @@ namespace CoreGraphics {
|
|||
[Field ("kCGColorSpaceGenericCMYK")]
|
||||
NSString GenericCmyk { get; }
|
||||
|
||||
[iOS (9,3)][Mac(10,11,2)]
|
||||
[TV (9,2)]
|
||||
[iOS (9, 3)]
|
||||
[Mac (10, 11, 2)]
|
||||
[TV (9, 2)]
|
||||
[Field ("kCGColorSpaceDisplayP3")]
|
||||
NSString DisplayP3 { get; }
|
||||
|
||||
|
@ -117,192 +145,236 @@ namespace CoreGraphics {
|
|||
[Field ("kCGColorSpaceGenericGrayGamma2_2")]
|
||||
NSString GenericGrayGamma2_2 { get; }
|
||||
|
||||
[Mac (10,11)]
|
||||
[Mac (10, 11)]
|
||||
[Field ("kCGColorSpaceGenericXYZ")]
|
||||
NSString GenericXyz { get; }
|
||||
|
||||
[Mac (10,11)]
|
||||
[Mac (10, 11)]
|
||||
[Field ("kCGColorSpaceACESCGLinear")]
|
||||
NSString AcesCGLinear { get; }
|
||||
|
||||
[Mac (10,11)]
|
||||
[Mac (10, 11)]
|
||||
[Field ("kCGColorSpaceITUR_709")]
|
||||
NSString ItuR_709 { get; }
|
||||
|
||||
[Mac (12,1), iOS (15,2), TV (15,2), Watch (8,3)]
|
||||
[Mac (12, 1), iOS (15, 2), TV (15, 2), Watch (8, 3)]
|
||||
[Field ("kCGColorSpaceITUR_709_PQ")]
|
||||
NSString ItuR_709_PQ { get; }
|
||||
|
||||
[Mac (13,0), iOS (16,0), TV (16,0), MacCatalyst (16,0), Watch (9,0)]
|
||||
[Mac (13, 0), iOS (16, 0), TV (16, 0), MacCatalyst (16, 0), Watch (9, 0)]
|
||||
[Field ("kCGColorSpaceITUR_709_HLG")]
|
||||
NSString ItuR_709_Hlg { get; }
|
||||
|
||||
[Mac (10,11)]
|
||||
[Mac (10, 11)]
|
||||
[Field ("kCGColorSpaceITUR_2020")]
|
||||
NSString ItuR_2020 { get; }
|
||||
|
||||
[Mac (12,1), iOS (15,2), TV (15,2), Watch (8,3)]
|
||||
[Mac (12, 1), iOS (15, 2), TV (15, 2), Watch (8, 3)]
|
||||
[Field ("kCGColorSpaceITUR_2020_sRGBGamma")]
|
||||
NSString ItuR_2020_sRgbGamma { get; }
|
||||
|
||||
[iOS (9,3)][Mac (10,11)]
|
||||
[TV (9,2)]
|
||||
[iOS (9, 3)]
|
||||
[Mac (10, 11)]
|
||||
[TV (9, 2)]
|
||||
[Field ("kCGColorSpaceROMMRGB")]
|
||||
NSString RommRgb { get; }
|
||||
|
||||
[iOS (9,3)][Mac (10,11)]
|
||||
[TV (9,2)]
|
||||
[iOS (9, 3)]
|
||||
[Mac (10, 11)]
|
||||
[TV (9, 2)]
|
||||
[Field ("kCGColorSpaceDCIP3")]
|
||||
NSString Dcip3 { get; }
|
||||
|
||||
[iOS (10,0)][Mac (10,12)]
|
||||
[Watch (3,0)]
|
||||
[TV (10,0)]
|
||||
[iOS (10, 0)]
|
||||
[Mac (10, 12)]
|
||||
[Watch (3, 0)]
|
||||
[TV (10, 0)]
|
||||
[Field ("kCGColorSpaceExtendedSRGB")]
|
||||
NSString ExtendedSrgb { get; }
|
||||
|
||||
[iOS (10,0)][Mac (10,12)]
|
||||
[Watch (3,0)]
|
||||
[TV (10,0)]
|
||||
[iOS (10, 0)]
|
||||
[Mac (10, 12)]
|
||||
[Watch (3, 0)]
|
||||
[TV (10, 0)]
|
||||
[Field ("kCGColorSpaceLinearSRGB")]
|
||||
NSString LinearSrgb { get; }
|
||||
|
||||
[iOS (10,0)][Mac (10,12)]
|
||||
[Watch (3,0)]
|
||||
[TV (10,0)]
|
||||
[iOS (10, 0)]
|
||||
[Mac (10, 12)]
|
||||
[Watch (3, 0)]
|
||||
[TV (10, 0)]
|
||||
[Field ("kCGColorSpaceExtendedLinearSRGB")]
|
||||
NSString ExtendedLinearSrgb { get; }
|
||||
|
||||
[iOS (10,0)][Mac (10,12)]
|
||||
[Watch (3,0)]
|
||||
[TV (10,0)]
|
||||
[iOS (10, 0)]
|
||||
[Mac (10, 12)]
|
||||
[Watch (3, 0)]
|
||||
[TV (10, 0)]
|
||||
[Field ("kCGColorSpaceExtendedGray")]
|
||||
NSString ExtendedGray { get; }
|
||||
|
||||
[iOS (10,0)][Mac (10,12)]
|
||||
[Watch (3,0)]
|
||||
[TV (10,0)]
|
||||
[iOS (10, 0)]
|
||||
[Mac (10, 12)]
|
||||
[Watch (3, 0)]
|
||||
[TV (10, 0)]
|
||||
[Field ("kCGColorSpaceLinearGray")]
|
||||
NSString LinearGray { get; }
|
||||
|
||||
[iOS (10,0)][Mac (10,12)]
|
||||
[Watch (3,0)]
|
||||
[TV (10,0)]
|
||||
[iOS (10, 0)]
|
||||
[Mac (10, 12)]
|
||||
[Watch (3, 0)]
|
||||
[TV (10, 0)]
|
||||
[Field ("kCGColorSpaceExtendedLinearGray")]
|
||||
NSString ExtendedLinearGray { get; }
|
||||
|
||||
[NoiOS][NoMacCatalyst][NoWatch][NoTV]
|
||||
[NoiOS]
|
||||
[NoMacCatalyst]
|
||||
[NoWatch]
|
||||
[NoTV]
|
||||
[Obsolete ("Now accessible as GenericCmyk.")]
|
||||
[Field ("kCGColorSpaceGenericCMYK")]
|
||||
NSString GenericCMYK { get; }
|
||||
|
||||
[NoiOS][NoMacCatalyst][NoWatch][NoTV]
|
||||
[NoiOS]
|
||||
[NoMacCatalyst]
|
||||
[NoWatch]
|
||||
[NoTV]
|
||||
[Obsolete ("Now accessible as AdobeRgb1998.")]
|
||||
[Field ("kCGColorSpaceAdobeRGB1998")]
|
||||
NSString AdobeRGB1998 { get; }
|
||||
|
||||
[NoiOS][NoMacCatalyst][NoWatch][NoTV]
|
||||
[NoiOS]
|
||||
[NoMacCatalyst]
|
||||
[NoWatch]
|
||||
[NoTV]
|
||||
[Obsolete ("Now accessible as Srgb.")]
|
||||
[Field ("kCGColorSpaceSRGB")]
|
||||
NSString SRGB { get; }
|
||||
|
||||
[NoiOS][NoMacCatalyst][NoWatch][NoTV]
|
||||
[NoiOS]
|
||||
[NoMacCatalyst]
|
||||
[NoWatch]
|
||||
[NoTV]
|
||||
[Obsolete ("Now accessible as GenericRgb.")]
|
||||
[Field ("kCGColorSpaceGenericRGB")]
|
||||
NSString GenericRGB { get; }
|
||||
|
||||
[NoiOS][NoMacCatalyst][NoWatch][NoTV]
|
||||
[NoiOS]
|
||||
[NoMacCatalyst]
|
||||
[NoWatch]
|
||||
[NoTV]
|
||||
[Obsolete ("Now accessible as GenericRgb.")]
|
||||
[Field ("kCGColorSpaceGenericRGBLinear")]
|
||||
NSString GenericRGBLinear { get; }
|
||||
|
||||
[iOS (11,0)][Mac (10,13)][Watch (4,0)][TV (11,0)]
|
||||
[iOS (11, 0)]
|
||||
[Mac (10, 13)]
|
||||
[Watch (4, 0)]
|
||||
[TV (11, 0)]
|
||||
[Field ("kCGColorSpaceGenericLab")]
|
||||
NSString GenericLab { get; }
|
||||
|
||||
[Mac (10,14,3)][iOS (12,3)]
|
||||
[TV (12,3)][Watch (5,3)]
|
||||
[Mac (10, 14, 3)]
|
||||
[iOS (12, 3)]
|
||||
[TV (12, 3)]
|
||||
[Watch (5, 3)]
|
||||
[Field ("kCGColorSpaceExtendedLinearITUR_2020")]
|
||||
NSString ExtendedLinearItur_2020 { get; }
|
||||
|
||||
[iOS (14,1), Mac (11,0), TV (14,2), Watch (7,1)]
|
||||
[MacCatalyst (14,1)]
|
||||
[iOS (14, 1), Mac (11, 0), TV (14, 2), Watch (7, 1)]
|
||||
[MacCatalyst (14, 1)]
|
||||
[Field ("kCGColorSpaceExtendedITUR_2020")]
|
||||
NSString ExtendedItur_2020 { get; }
|
||||
|
||||
[Mac (10,14,3)][iOS (12,3)]
|
||||
[TV (12,3)][Watch (5,3)]
|
||||
[Mac (10, 14, 3)]
|
||||
[iOS (12, 3)]
|
||||
[TV (12, 3)]
|
||||
[Watch (5, 3)]
|
||||
[Field ("kCGColorSpaceExtendedLinearDisplayP3")]
|
||||
NSString ExtendedLinearDisplayP3 { get; }
|
||||
|
||||
[iOS (14,1), Mac (11,0), TV (14,2), Watch (7,1)]
|
||||
[MacCatalyst (14,1)]
|
||||
[iOS (14, 1), Mac (11, 0), TV (14, 2), Watch (7, 1)]
|
||||
[MacCatalyst (14, 1)]
|
||||
[Field ("kCGColorSpaceExtendedDisplayP3")]
|
||||
NSString ExtendedDisplayP3 { get; }
|
||||
|
||||
[Mac (10,14)][iOS (12,0)]
|
||||
[TV (12,0)][Watch (5,0)]
|
||||
[Deprecated (PlatformName.MacOSX, 10,15,4, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Deprecated (PlatformName.iOS, 13,4, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Deprecated (PlatformName.TvOS, 13,4, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Deprecated (PlatformName.WatchOS, 6,2, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Mac (10, 14)]
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[Deprecated (PlatformName.MacOSX, 10, 15, 4, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Deprecated (PlatformName.iOS, 13, 4, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Deprecated (PlatformName.TvOS, 13, 4, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Deprecated (PlatformName.WatchOS, 6, 2, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Field ("kCGColorSpaceITUR_2020_PQ_EOTF")]
|
||||
NSString Itur_2020_PQ_Eotf { get; }
|
||||
|
||||
[Mac (10,15,4), iOS (13,4), TV (13,4), Watch (6,2)]
|
||||
[Deprecated (PlatformName.MacOSX, 11,0, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Deprecated (PlatformName.iOS, 14,0, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Deprecated (PlatformName.TvOS, 14,0, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Deprecated (PlatformName.WatchOS, 7,0, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Mac (10, 15, 4), iOS (13, 4), TV (13, 4), Watch (6, 2)]
|
||||
[Deprecated (PlatformName.MacOSX, 11, 0, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Deprecated (PlatformName.iOS, 14, 0, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Deprecated (PlatformName.TvOS, 14, 0, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Deprecated (PlatformName.WatchOS, 7, 0, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Field ("kCGColorSpaceITUR_2020_PQ")]
|
||||
NSString Itur_2020_PQ { get; }
|
||||
|
||||
[Mac (10,15)][iOS (13,0)]
|
||||
[TV (13,0)][Watch (6,0)]
|
||||
[Deprecated (PlatformName.MacOSX, 10,15,4)]
|
||||
[Deprecated (PlatformName.iOS, 13,4)]
|
||||
[Deprecated (PlatformName.TvOS, 13,4)]
|
||||
[Deprecated (PlatformName.WatchOS, 6,2)]
|
||||
[Mac (10, 15)]
|
||||
[iOS (13, 0)]
|
||||
[TV (13, 0)]
|
||||
[Watch (6, 0)]
|
||||
[Deprecated (PlatformName.MacOSX, 10, 15, 4)]
|
||||
[Deprecated (PlatformName.iOS, 13, 4)]
|
||||
[Deprecated (PlatformName.TvOS, 13, 4)]
|
||||
[Deprecated (PlatformName.WatchOS, 6, 2)]
|
||||
[Field ("kCGColorSpaceDisplayP3_PQ_EOTF")]
|
||||
NSString DisplayP3_PQ_Eotf { get; }
|
||||
|
||||
[Mac (10,15,4), iOS (13,4), TV (13,4), Watch (6,2)]
|
||||
[Mac (10, 15, 4), iOS (13, 4), TV (13, 4), Watch (6, 2)]
|
||||
[Field ("kCGColorSpaceDisplayP3_PQ")]
|
||||
NSString DisplayP3_PQ { get; }
|
||||
|
||||
[Mac (10,15)][iOS (13,0)]
|
||||
[TV (13,0)][Watch (6,0)]
|
||||
[Mac (10, 15)]
|
||||
[iOS (13, 0)]
|
||||
[TV (13, 0)]
|
||||
[Watch (6, 0)]
|
||||
[Field ("kCGColorSpaceDisplayP3_HLG")]
|
||||
NSString DisplayP3_Hlg { get; }
|
||||
|
||||
[Mac (10,15)][iOS (13,0)]
|
||||
[TV (13,0)][Watch (6,0)]
|
||||
[Deprecated (PlatformName.MacOSX, 11,0, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Deprecated (PlatformName.iOS, 14,0, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Deprecated (PlatformName.TvOS, 14,0, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Deprecated (PlatformName.WatchOS, 7,0, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Mac (10, 15)]
|
||||
[iOS (13, 0)]
|
||||
[TV (13, 0)]
|
||||
[Watch (6, 0)]
|
||||
[Deprecated (PlatformName.MacOSX, 11, 0, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Deprecated (PlatformName.iOS, 14, 0, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Deprecated (PlatformName.TvOS, 14, 0, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Deprecated (PlatformName.WatchOS, 7, 0, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Field ("kCGColorSpaceITUR_2020_HLG")]
|
||||
NSString Itur_2020_Hlg { get; }
|
||||
|
||||
[iOS (14,0)][TV (14,0)][Watch (7,0)][Mac (11,0)]
|
||||
[MacCatalyst (14,0)]
|
||||
[iOS (14, 0)]
|
||||
[TV (14, 0)]
|
||||
[Watch (7, 0)]
|
||||
[Mac (11, 0)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Field ("kCGColorSpaceITUR_2100_HLG")]
|
||||
NSString Itur_2100_Hlg { get; }
|
||||
|
||||
[iOS (14,0)][TV (14,0)][Watch (7,0)][Mac (11,0)]
|
||||
[MacCatalyst (14,0)]
|
||||
[iOS (14, 0)]
|
||||
[TV (14, 0)]
|
||||
[Watch (7, 0)]
|
||||
[Mac (11, 0)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Field ("kCGColorSpaceITUR_2100_PQ")]
|
||||
NSString Itur_2100_PQ { get; }
|
||||
|
||||
[Mac (12,0), iOS (15,0), TV (15,0), Watch (8,0), MacCatalyst (15,0)]
|
||||
[Mac (12, 0), iOS (15, 0), TV (15, 0), Watch (8, 0), MacCatalyst (15, 0)]
|
||||
[Field ("kCGColorSpaceExtendedRange")]
|
||||
NSString ExtendedRange { get; }
|
||||
|
||||
[Mac (12, 0), iOS (15, 0), TV (15,0), Watch (8,0), MacCatalyst (15,0)]
|
||||
[Mac (12, 0), iOS (15, 0), TV (15, 0), Watch (8, 0), MacCatalyst (15, 0)]
|
||||
[Field ("kCGColorSpaceLinearDisplayP3")]
|
||||
NSString LinearDisplayP3 { get; }
|
||||
|
||||
[Mac (12, 0), iOS (15, 0), TV (15,0), Watch (8,0), MacCatalyst (15,0)]
|
||||
[Mac (12, 0), iOS (15, 0), TV (15, 0), Watch (8, 0), MacCatalyst (15, 0)]
|
||||
[Field ("kCGColorSpaceLinearITUR_2020")]
|
||||
NSString LinearItur_2020 { get; }
|
||||
}
|
||||
|
@ -316,20 +388,23 @@ namespace CoreGraphics {
|
|||
|
||||
[Internal]
|
||||
[Field ("kCGColorConversionTRCSize")]
|
||||
[iOS (11,0), Mac(10,13), TV(11,0), Watch(4,0)]
|
||||
[iOS (11, 0), Mac (10, 13), TV (11, 0), Watch (4, 0)]
|
||||
NSString TrcSizeKey { get; }
|
||||
}
|
||||
|
||||
[iOS (10,0)][TV (10,0)][Watch (3,0)][Mac (10,12)]
|
||||
[iOS (10, 0)]
|
||||
[TV (10, 0)]
|
||||
[Watch (3, 0)]
|
||||
[Mac (10, 12)]
|
||||
[StrongDictionary ("CGColorConversionInfo")]
|
||||
interface CGColorConversionOptions {
|
||||
bool BlackPointCompensation { get; set; }
|
||||
CGSize TrcSize { get; set; }
|
||||
}
|
||||
|
||||
[iOS(11,0), Mac(10,13)]
|
||||
[TV(11,0)]
|
||||
[Watch(4,0)]
|
||||
[iOS (11, 0), Mac (10, 13)]
|
||||
[TV (11, 0)]
|
||||
[Watch (4, 0)]
|
||||
[Static]
|
||||
[Internal]
|
||||
public interface CGPDFOutlineKeys {
|
||||
|
@ -343,7 +418,7 @@ namespace CoreGraphics {
|
|||
|
||||
[Internal]
|
||||
[Field ("kCGPDFOutlineDestination")]
|
||||
NSString OutlineDestinationKey { get;}
|
||||
NSString OutlineDestinationKey { get; }
|
||||
|
||||
[Internal]
|
||||
[Field ("kCGPDFOutlineDestinationRect")]
|
||||
|
@ -353,8 +428,8 @@ namespace CoreGraphics {
|
|||
[Field ("kCGPDFContextAccessPermissions")]
|
||||
NSString AccessPermissionsKey { get; }
|
||||
}
|
||||
|
||||
[iOS(11,0), Mac(10,13)]
|
||||
|
||||
[iOS (11, 0), Mac (10, 13)]
|
||||
[StrongDictionary ("CGPDFOutlineKeys")]
|
||||
interface CGPDFOutlineOptions {
|
||||
string OutlineTitle { get; set; }
|
||||
|
@ -363,10 +438,10 @@ namespace CoreGraphics {
|
|||
CGRect DestinationRect { get; set; }
|
||||
}
|
||||
|
||||
[Mac (10,15)]
|
||||
[iOS (13,0)]
|
||||
[TV (13,0)]
|
||||
[Watch (6,0)]
|
||||
[Mac (10, 15)]
|
||||
[iOS (13, 0)]
|
||||
[TV (13, 0)]
|
||||
[Watch (6, 0)]
|
||||
[Static]
|
||||
[Internal]
|
||||
interface CGPdfTagPropertyKeys {
|
||||
|
@ -383,10 +458,10 @@ namespace CoreGraphics {
|
|||
NSString LanguageTextKey { get; }
|
||||
}
|
||||
|
||||
[Mac (10,15)]
|
||||
[iOS (13,0)]
|
||||
[TV (13,0)]
|
||||
[Watch (6,0)]
|
||||
[Mac (10, 15)]
|
||||
[iOS (13, 0)]
|
||||
[TV (13, 0)]
|
||||
[Watch (6, 0)]
|
||||
[StrongDictionary ("CGPdfTagPropertyKeys")]
|
||||
interface CGPdfTagProperties {
|
||||
// <quote>The following CGPDFTagProperty keys are to be paired with CFStringRef values</quote>
|
||||
|
@ -397,8 +472,10 @@ namespace CoreGraphics {
|
|||
}
|
||||
|
||||
// macOS 10.5
|
||||
[iOS (14,0)][TV (14,0)][Watch (7,0)]
|
||||
[MacCatalyst (14,0)]
|
||||
[iOS (14, 0)]
|
||||
[TV (14, 0)]
|
||||
[Watch (7, 0)]
|
||||
[MacCatalyst (14, 0)]
|
||||
enum CGConstantColor {
|
||||
[Field ("kCGColorWhite")]
|
||||
White,
|
||||
|
@ -409,7 +486,7 @@ namespace CoreGraphics {
|
|||
}
|
||||
|
||||
// Adding suffix *Keys to avoid possible name clash
|
||||
[NoiOS, NoTV, NoWatch, Mac (10,9), MacCatalyst (13,1)]
|
||||
[NoiOS, NoTV, NoWatch, Mac (10, 9), MacCatalyst (13, 1)]
|
||||
[Static]
|
||||
interface CGDisplayStreamKeys {
|
||||
|
||||
|
@ -438,7 +515,7 @@ namespace CoreGraphics {
|
|||
NSString YCbCrMatrix { get; }
|
||||
}
|
||||
|
||||
[NoiOS, NoTV, NoWatch, Mac (10,9), MacCatalyst (13,1)]
|
||||
[NoiOS, NoTV, NoWatch, Mac (10, 9), MacCatalyst (13, 1)]
|
||||
[Static]
|
||||
interface CGDisplayStreamYCbCrMatrixOptionKeys {
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
//
|
||||
|
||||
using System;
|
||||
|
||||
|
||||
using AVFoundation;
|
||||
using CoreFoundation;
|
||||
using Foundation;
|
||||
|
@ -20,13 +20,13 @@ using NativeHandle = System.IntPtr;
|
|||
|
||||
namespace CoreHaptics {
|
||||
|
||||
// we are not binding the API on Mac OS X yet due to an issue on Apples side: https://github.com/xamarin/maccore/issues/1951
|
||||
// we are not binding the API on Mac OS X yet due to an issue on Apples side: https://github.com/xamarin/maccore/issues/1951
|
||||
#if MONOMAC || TV
|
||||
interface AVAudioSession {}
|
||||
#endif
|
||||
|
||||
[Mac (10,15), iOS (13,0), TV (14,0)]
|
||||
[BaseType (typeof(NSObject))]
|
||||
[Mac (10, 15), iOS (13, 0), TV (14, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CHHapticEventParameter {
|
||||
[BindAs (typeof (CHHapticEventParameterId))]
|
||||
|
@ -41,8 +41,8 @@ namespace CoreHaptics {
|
|||
NativeHandle Constructor ([BindAs (typeof (CHHapticEventParameterId))] NSString parameterId, float value);
|
||||
}
|
||||
|
||||
[Mac (10,15), iOS (13,0), TV (14,0)]
|
||||
[BaseType (typeof(NSObject))]
|
||||
[Mac (10, 15), iOS (13, 0), TV (14, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CHHapticDynamicParameter {
|
||||
[BindAs (typeof (CHHapticDynamicParameterId))]
|
||||
|
@ -60,8 +60,8 @@ namespace CoreHaptics {
|
|||
NativeHandle Constructor ([BindAs (typeof (CHHapticDynamicParameterId))] NSString parameterId, float value, double time);
|
||||
}
|
||||
|
||||
[Mac (10,15), iOS (13,0), TV (14,0)]
|
||||
[BaseType (typeof(NSObject))]
|
||||
[Mac (10, 15), iOS (13, 0), TV (14, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CHHapticParameterCurveControlPoint {
|
||||
[Export ("relativeTime")]
|
||||
|
@ -75,8 +75,8 @@ namespace CoreHaptics {
|
|||
NativeHandle Constructor (double time, float value);
|
||||
}
|
||||
|
||||
[Mac (10,15), iOS (13,0), TV (14,0)]
|
||||
[BaseType (typeof(NSObject))]
|
||||
[Mac (10, 15), iOS (13, 0), TV (14, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CHHapticParameterCurve {
|
||||
[BindAs (typeof (CHHapticDynamicParameterId))]
|
||||
|
@ -87,15 +87,15 @@ namespace CoreHaptics {
|
|||
double RelativeTime { get; set; }
|
||||
|
||||
[Export ("controlPoints")]
|
||||
CHHapticParameterCurveControlPoint[] ControlPoints { get; }
|
||||
CHHapticParameterCurveControlPoint [] ControlPoints { get; }
|
||||
|
||||
[Export ("initWithParameterID:controlPoints:relativeTime:")]
|
||||
[DesignatedInitializer]
|
||||
NativeHandle Constructor ([BindAs (typeof (CHHapticDynamicParameterId))]NSString parameterId, CHHapticParameterCurveControlPoint[] controlPoints, double relativeTime);
|
||||
NativeHandle Constructor ([BindAs (typeof (CHHapticDynamicParameterId))] NSString parameterId, CHHapticParameterCurveControlPoint [] controlPoints, double relativeTime);
|
||||
}
|
||||
|
||||
[Mac (10,15), iOS (13,0), TV (14,0)]
|
||||
[BaseType (typeof(NSObject))]
|
||||
[Mac (10, 15), iOS (13, 0), TV (14, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CHHapticEvent {
|
||||
[BindAs (typeof (CHHapticEventType))]
|
||||
|
@ -103,7 +103,7 @@ namespace CoreHaptics {
|
|||
NSString Type { get; }
|
||||
|
||||
[Export ("eventParameters")]
|
||||
CHHapticEventParameter[] EventParameters { get; }
|
||||
CHHapticEventParameter [] EventParameters { get; }
|
||||
|
||||
[Export ("relativeTime")]
|
||||
double RelativeTime { get; set; }
|
||||
|
@ -112,21 +112,21 @@ namespace CoreHaptics {
|
|||
double Duration { get; set; }
|
||||
|
||||
[Export ("initWithEventType:parameters:relativeTime:")]
|
||||
NativeHandle Constructor ([BindAs (typeof (CHHapticEventType))] NSString type, CHHapticEventParameter[] eventParams, double time);
|
||||
NativeHandle Constructor ([BindAs (typeof (CHHapticEventType))] NSString type, CHHapticEventParameter [] eventParams, double time);
|
||||
|
||||
[Export ("initWithEventType:parameters:relativeTime:duration:")]
|
||||
NativeHandle Constructor ([BindAs (typeof (CHHapticEventType))] NSString type, CHHapticEventParameter[] eventParams, double time, double duration);
|
||||
NativeHandle Constructor ([BindAs (typeof (CHHapticEventType))] NSString type, CHHapticEventParameter [] eventParams, double time, double duration);
|
||||
|
||||
[Export ("initWithAudioResourceID:parameters:relativeTime:")]
|
||||
NativeHandle Constructor (nuint resourceId, CHHapticEventParameter[] eventParams, double time);
|
||||
NativeHandle Constructor (nuint resourceId, CHHapticEventParameter [] eventParams, double time);
|
||||
|
||||
[Export ("initWithAudioResourceID:parameters:relativeTime:duration:")]
|
||||
NativeHandle Constructor (nuint resourceId, CHHapticEventParameter[] eventParams, double time, double duration);
|
||||
NativeHandle Constructor (nuint resourceId, CHHapticEventParameter [] eventParams, double time, double duration);
|
||||
}
|
||||
|
||||
interface ICHHapticParameterAttributes { }
|
||||
|
||||
[Mac (10,15), iOS (13,0), TV (14,0)]
|
||||
[Mac (10, 15), iOS (13, 0), TV (14, 0)]
|
||||
[Protocol]
|
||||
interface CHHapticParameterAttributes {
|
||||
[Abstract]
|
||||
|
@ -142,9 +142,10 @@ namespace CoreHaptics {
|
|||
float DefaultValue { get; }
|
||||
}
|
||||
|
||||
interface ICHHapticDeviceCapability { }
|
||||
interface ICHHapticDeviceCapability { }
|
||||
|
||||
[iOS (13,0)][Mac (11,0), TV (14,0)]
|
||||
[iOS (13, 0)]
|
||||
[Mac (11, 0), TV (14, 0)]
|
||||
[Protocol]
|
||||
interface CHHapticDeviceCapability {
|
||||
[Abstract]
|
||||
|
@ -170,7 +171,7 @@ namespace CoreHaptics {
|
|||
|
||||
interface ICHHapticPatternPlayer { }
|
||||
|
||||
[Mac (10,15), iOS (13,0), TV (14,0)]
|
||||
[Mac (10, 15), iOS (13, 0), TV (14, 0)]
|
||||
[Protocol]
|
||||
interface CHHapticPatternPlayer {
|
||||
[Abstract]
|
||||
|
@ -183,7 +184,7 @@ namespace CoreHaptics {
|
|||
|
||||
[Abstract]
|
||||
[Export ("sendParameters:atTime:error:")]
|
||||
bool Send (CHHapticDynamicParameter[] parameters, double time, [NullAllowed] out NSError outError);
|
||||
bool Send (CHHapticDynamicParameter [] parameters, double time, [NullAllowed] out NSError outError);
|
||||
|
||||
[Abstract]
|
||||
[Export ("scheduleParameterCurve:atTime:error:")]
|
||||
|
@ -198,9 +199,9 @@ namespace CoreHaptics {
|
|||
bool IsMuted { get; set; }
|
||||
}
|
||||
|
||||
interface ICHHapticAdvancedPatternPlayer {}
|
||||
interface ICHHapticAdvancedPatternPlayer { }
|
||||
|
||||
[Mac (10,15), iOS (13,0), TV (14,0)]
|
||||
[Mac (10, 15), iOS (13, 0), TV (14, 0)]
|
||||
[Protocol]
|
||||
interface CHHapticAdvancedPatternPlayer : CHHapticPatternPlayer {
|
||||
[Abstract]
|
||||
|
@ -236,11 +237,10 @@ namespace CoreHaptics {
|
|||
new bool IsMuted { get; set; }
|
||||
}
|
||||
|
||||
[Mac (10,15), iOS (13,0), TV (14, 0)]
|
||||
[BaseType (typeof(NSObject))]
|
||||
[Mac (10, 15), iOS (13, 0), TV (14, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CHHapticEngine
|
||||
{
|
||||
interface CHHapticEngine {
|
||||
|
||||
[Static]
|
||||
[Export ("capabilitiesForHardware")]
|
||||
|
@ -311,14 +311,14 @@ namespace CoreHaptics {
|
|||
[Export ("playPatternFromData:error:")]
|
||||
bool PlayPattern (NSData data, [NullAllowed] out NSError outError);
|
||||
|
||||
[TV (16,0), NoWatch, MacCatalyst (16,0), Mac (13,0), iOS (16,0)]
|
||||
[TV (16, 0), NoWatch, MacCatalyst (16, 0), Mac (13, 0), iOS (16, 0)]
|
||||
[Export ("playsAudioOnly")]
|
||||
bool PlaysAudioOnly { get; set; }
|
||||
}
|
||||
|
||||
[Static]
|
||||
[Internal]
|
||||
[Mac (10,15), iOS (13,0), TV (14, 0)]
|
||||
[Mac (10, 15), iOS (13, 0), TV (14, 0)]
|
||||
partial interface CHHapticPatternDefinitionKeys {
|
||||
[Field ("CHHapticPatternKeyVersion")]
|
||||
NSString VersionKey { get; }
|
||||
|
@ -359,16 +359,16 @@ namespace CoreHaptics {
|
|||
[Field ("CHHapticPatternKeyParameterCurveControlPoints")]
|
||||
NSString ParameterCurveControlPointsKey { get; }
|
||||
|
||||
[TV (15,0), NoWatch, Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
|
||||
[TV (15, 0), NoWatch, Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)]
|
||||
[Field ("CHHapticPatternKeyEventWaveformUseVolumeEnvelope")]
|
||||
NSString EventWaveformUseVolumeEnvelopeKey { get; }
|
||||
|
||||
[TV (16,0), NoWatch, MacCatalyst (16,0), Mac (13,0), iOS (16,0)]
|
||||
[TV (16, 0), NoWatch, MacCatalyst (16, 0), Mac (13, 0), iOS (16, 0)]
|
||||
[Field ("CHHapticPatternKeyEventWaveformLoopEnabled")]
|
||||
NSString EventWaveformLoopEnabledKey { get; }
|
||||
}
|
||||
|
||||
[Mac (10,15), iOS (13,0), TV (14, 0)]
|
||||
[Mac (10, 15), iOS (13, 0), TV (14, 0)]
|
||||
[StrongDictionary ("CHHapticPatternDefinitionKeys")]
|
||||
partial interface CHHapticPatternDefinition {
|
||||
double Version { get; set; }
|
||||
|
@ -391,22 +391,22 @@ namespace CoreHaptics {
|
|||
[Export ("ParameterCurveControlPointsKey")]
|
||||
NSObject WeakParameterCurveControlPoints { get; set; }
|
||||
[Advice ("The default value is true.")]
|
||||
[TV (15,0), NoWatch, Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
|
||||
[TV (15, 0), NoWatch, Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)]
|
||||
bool EventWaveformUseVolumeEnvelope { get; set; }
|
||||
}
|
||||
|
||||
[Mac (10,15), iOS (13,0), TV (14, 0)]
|
||||
[BaseType (typeof(NSObject))]
|
||||
[Mac (10, 15), iOS (13, 0), TV (14, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CHHapticPattern {
|
||||
[Export ("duration")]
|
||||
double Duration { get; }
|
||||
|
||||
[Export ("initWithEvents:parameters:error:")]
|
||||
NativeHandle Constructor (CHHapticEvent[] events, CHHapticDynamicParameter[] parameters, [NullAllowed] out NSError outError);
|
||||
NativeHandle Constructor (CHHapticEvent [] events, CHHapticDynamicParameter [] parameters, [NullAllowed] out NSError outError);
|
||||
|
||||
[Export ("initWithEvents:parameterCurves:error:")]
|
||||
NativeHandle Constructor (CHHapticEvent[] events, CHHapticParameterCurve[] parameterCurves, [NullAllowed] out NSError outError);
|
||||
NativeHandle Constructor (CHHapticEvent [] events, CHHapticParameterCurve [] parameterCurves, [NullAllowed] out NSError outError);
|
||||
|
||||
[Export ("initWithDictionary:error:")]
|
||||
NativeHandle Constructor (NSDictionary patternDict, [NullAllowed] out NSError outError);
|
||||
|
@ -414,7 +414,7 @@ namespace CoreHaptics {
|
|||
[Wrap ("this (patternDefinition.GetDictionary ()!, out outError)")]
|
||||
NativeHandle Constructor (CHHapticPatternDefinition patternDefinition, [NullAllowed] out NSError outError);
|
||||
|
||||
[TV (16,0), NoWatch, MacCatalyst (16,0), Mac (13,0), iOS (16,0)]
|
||||
[TV (16, 0), NoWatch, MacCatalyst (16, 0), Mac (13, 0), iOS (16, 0)]
|
||||
[Export ("initWithContentsOfURL:error:")]
|
||||
NativeHandle Constructor (NSUrl url, [NullAllowed] out NSError error);
|
||||
|
||||
|
@ -430,18 +430,18 @@ namespace CoreHaptics {
|
|||
|
||||
[Static]
|
||||
[Internal]
|
||||
[Mac (12,0), iOS (15,0), TV (15,0), MacCatalyst (15,0), NoWatch]
|
||||
[Mac (12, 0), iOS (15, 0), TV (15, 0), MacCatalyst (15, 0), NoWatch]
|
||||
partial interface CHHapticAudioResourceKeys {
|
||||
[Field ("CHHapticAudioResourceKeyUseVolumeEnvelope")]
|
||||
NSString UseVolumeEnvelopeKey { get; }
|
||||
|
||||
[TV (16,0), NoWatch, MacCatalyst (16, 0), Mac (13,0), iOS (16, 0)]
|
||||
[TV (16, 0), NoWatch, MacCatalyst (16, 0), Mac (13, 0), iOS (16, 0)]
|
||||
[Field ("CHHapticAudioResourceKeyLoopEnabled")]
|
||||
NSString LoopEnabledKey { get; }
|
||||
|
||||
}
|
||||
|
||||
[Mac (12,0), iOS (15,0), TV (15,0), MacCatalyst (15,0), NoWatch]
|
||||
[Mac (12, 0), iOS (15, 0), TV (15, 0), MacCatalyst (15, 0), NoWatch]
|
||||
[StrongDictionary ("CHHapticAudioResourceKeys")]
|
||||
partial interface CHHapticAudioResourceDefinition {
|
||||
[Advice ("The default value is true.")]
|
||||
|
|
3479
src/coreimage.cs
3479
src/coreimage.cs
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче