-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathffigen.yaml
40 lines (40 loc) · 1.95 KB
/
ffigen.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: FFIAccessorySetupKit
description: Bindings for AccessorySetupKit.
language: objc
output:
bindings: lib/gen/ios/accessory_setup_bindings.dart
objc-bindings: ios/flutter_accessorysetup/Sources/flutter_accessorysetup/AccessorySetupBindings.m
exclude-all-by-default: true
objc-protocols:
include:
- "FFIAccessorySessionDelegate" # Delegate for the ASAccessorySession callbacks
objc-interfaces:
include:
- "FFIAccessorySession" # Copy of the ASAccessorySession, with interfaces improved for Dart FFI import
- "ASAccessoryEvent" # Properties of events during discovery.
- "ASPickerDisplayItem" # Represents a picker item in discovery UI.
- "ASDiscoveryDescriptor" # Used to define discovery criteria.
- "ASAccessory" # Represents a discovered accessory.
- "ASMigrationDisplayItem" # Used when migrating accessories to AccessorySetupKit.
- "ASError" # Error encountered during discovery.
- "NSNull"
- "NSUUID"
- "CBUUID"
- "UIImage"
headers:
entry-points:
- "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AccessorySetupKit.framework/Headers/AccessorySetupKit.h"
- "ios/flutter_accessorysetup/Sources/flutter_accessorysetup/AccessorySetupBindings.h"
- "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CoreBluetooth.h"
- "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h"
preamble: |
// ignore_for_file: always_specify_types
// ignore_for_file: camel_case_types
// ignore_for_file: non_constant_identifier_names
comments:
style: any
length: full
external-versions:
# See https://docs.flutter.dev/reference/supported-platforms.
ios:
min: 18.0.0