{"id":20948911,"url":"https://github.com/flutter-tizen/tizen_interop","last_synced_at":"2025-05-14T02:30:55.372Z","repository":{"id":44425928,"uuid":"390971362","full_name":"flutter-tizen/tizen_interop","owner":"flutter-tizen","description":"Dart bindings for Tizen C APIs","archived":false,"fork":false,"pushed_at":"2024-03-14T08:21:11.000Z","size":8396,"stargazers_count":6,"open_issues_count":1,"forks_count":5,"subscribers_count":13,"default_branch":"main","last_synced_at":"2024-03-15T03:53:16.563Z","etag":null,"topics":["dart-package","flutter","tizen"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flutter-tizen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-07-30T07:23:04.000Z","updated_at":"2024-03-15T03:53:16.564Z","dependencies_parsed_at":"2024-03-14T03:44:40.765Z","dependency_job_id":null,"html_url":"https://github.com/flutter-tizen/tizen_interop","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":0.4,"last_synced_commit":"f503c4ec67effcebb32e348e5c3278125ca59486"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutter-tizen%2Ftizen_interop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutter-tizen%2Ftizen_interop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutter-tizen%2Ftizen_interop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutter-tizen%2Ftizen_interop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flutter-tizen","download_url":"https://codeload.github.com/flutter-tizen/tizen_interop/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225272354,"owners_count":17447922,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dart-package","flutter","tizen"],"created_at":"2024-11-19T00:26:31.076Z","updated_at":"2024-11-19T00:26:31.716Z","avatar_url":"https://github.com/flutter-tizen.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tizen_interop\n\n[![pub package](https://img.shields.io/pub/v/tizen_interop.svg)](https://pub.dev/packages/tizen_interop)\n\nProvides Dart bindings for Tizen native APIs, powered by [ffigen](https://pub.dev/packages/ffigen).\n\n\n## Usage\n\nTo use this package, add `ffi` and `tizen_interop` as dependencies in your `pubspec.yaml` file.\n\n```yaml\ndependencies:\n  ffi: ^2.0.1\n  tizen_interop: ^0.4.0\n```\n\nThen, import `package:ffi/ffi.dart` and `package:tizen_interop/[TIZEN_VERSION]/tizen.dart` in your Dart code.\n\n```dart\nimport 'package:ffi/ffi.dart';\nimport 'package:tizen_interop/6.0/tizen.dart';\n```\n\n### Examples\n\n```dart\n// Getting a string value from the Native API.\n// Prefer using `arena` to allocate memory because it frees the memory\n// automatically when the `using` block ends.\nString appName = using((Arena arena) {\n  Pointer\u003cPointer\u003cChar\u003e\u003e ppStr = arena();\n  if (tizen.app_get_name(ppStr) == 0) {\n    // The memory allocated by the Native API must be freed by the caller.\n    arena.using(ppStr.value, calloc.free);\n    return ppStr.value.toDartString();\n  }\n  return 'unknown';\n});\n\n// Passing a string value to the Native API.\n// The memory allocated by the `toNativeChar` method must be freed by\n// the caller. The `arena` allocator will free it automatically.\nusing((Arena arena) {\n  Pointer\u003cChar\u003e pKey =\n      'tizen_interop_test_key_for_int'.toNativeChar(allocator: arena);\n  tizen.preference_set_int(pKey, 100);\n});\n\n// Getting an integer value from the Native API.\nint preferenceValue = using((Arena arena) {\n  Pointer\u003cChar\u003e pKey =\n      'tizen_interop_test_key_for_int'.toNativeChar(allocator: arena);\n  Pointer\u003cInt\u003e pValue = arena();\n  if (tizen.preference_get_int(pKey, pValue) == 0) {\n    return pValue.value;\n  }\n  return 0;\n});\n\n// Getting a struct value from the Native API.\nint freeMemory = using((Arena arena) {\n  Pointer\u003cruntime_memory_info_s\u003e pMemInfo = arena();\n  if (tizen.runtime_info_get_system_memory_info(pMemInfo) == 0) {\n    return pMemInfo.ref.free;\n  }\n  return 0;\n});\n\n// Both sync and async callbacks are supported as long as they are called on\n// the same thread.\ntizen.storage_foreach_device_supported(\n    Pointer.fromFunction(_storageDevice, false), nullptr);\n\n// Callbacks that are called outside the current thread will cause the error:\n// \"Cannot invoke native callback outside an isolate\".\n// See the tizen_interop_callbacks package for a solution.\n```\n\n\n## Supported APIs\n\nThis package provides bindings for the following APIs of the Tizen [IoT-Headed](https://docs.tizen.org/application/native/api/iot-headed/latest) (or [Common](https://docs.tizen.org/application/native/api/common/latest) for Tizen 8.0 and above) profile.\n\n\u003e **Note**: UI and WebView related APIs are not included.\n\n| Category | Sub category | Tizen 6.0 | Tizen 6.5 | Tizen 7.0 | Tizen 8.0 |\n|-|-|:-:|:-:|:-:|:-:|\n| Account | Account Manager | ✔ | ✔ | ✔ | ✔ |\n| | FIDO Client | ✔ | ✔ | ✔ | ✔ |\n| | Account Manager | ✔ | ✔ | ✔ | ✔ |\n| | OAuth 2.0 | ✔ | ✔ | ✔ | ✔ |\n| | Sync Manager | ✔ | ✔ | ✔ | ✔ |\n| Application Framework | Application | ✔ | ✔ | ✔ | ✔ |\n| | Alarm | ✔ | ✔ | ✔ | ✔ |\n| | App Common | ✔ | ✔ | ✔ | ✔ |\n| | App Control | ✔ | ✔ | ✔ | ✔ |\n| | App Control URI  | | ✔ | ✔ | ✔ |\n| | Event | ✔ | ✔ | ✔ | ✔ |\n| | Internationalization | ✔ | ✔ | ✔ | ✔ |\n| | Job scheduler | ✔ | ✔ | ✔ | ✔ |\n| | Preference | ✔ | ✔ | ✔ | ✔ |\n| | Resource Manager | ✔ | ✔ | ✔ | ✔ |\n| | Application Manager | ✔ | ✔ | ✔ | ✔ |\n| | Attach panel |\n| | Badge | ✔ | ✔ | ✔ | ✔ |\n| | Bundle | ✔ | ✔ | ✔ | ✔ |\n| | Cion  | | ✔ | ✔ | ✔ |\n| | Component Based Application |\n| | Component Manager |\n| | Data Control | ✔ | ✔ | ✔ | ✔ |\n| | Message Port | ✔ | ✔ | ✔ | ✔ |\n| | Notification | ✔ | ✔ | ✔ | ✔ |\n| | Notification EX | ✔ | ✔ | ✔ | ✔ |\n| | Package Manager | ✔ | ✔ | ✔ | ✔ |\n| | RPC Port | ✔ | ✔ | ✔ | ✔ |\n| | Service Application | ✔ | ✔ | ✔ | ✔ |\n| | Shortcut | ✔ | ✔ | | |\n| | Widget |\n| Base | Common Error | ✔ | ✔ | ✔ | ✔ |\n| | Utils |\n| Content | Download | ✔ | ✔ | ✔ | ✔ |\n| | MIME Type | ✔ | ✔ | ✔ | ✔ |\n| | Media Content | ✔ | ✔ | ✔ | ✔ |\n| Context | Activity Recognition | ✔ | | | |\n| | Contextual History | ✔ | ✔ | ✔ | ✔ |\n| | Contextual Trigger | ✔ | ✔ | ✔ | ✔ |\n| | Gesture Recognition | ✔ | | | |\n| Location | Geofence Manager | ✔ | ✔ | ✔ | ✔ |\n| | Location Manager | ✔ | ✔ | ✔ | ✔ |\n| | Maps Service |\n| Machine Learning | Pipeline  | | ✔ | ✔ | ✔ |\n| | Service | | | ✔ | ✔ |\n| | Single  | | ✔ | ✔ | ✔ |\n| | Trainer  | | ✔ | ✔ | ✔ |\n| Messaging | Email | ✔ | ✔ | ✔ | ✔ |\n| | Messages | | | | |\n| | Push | ✔ | ✔ | ✔ | ✔ |\n| Multimedia | Audio I/O | ✔ | ✔ | ✔ | ✔ |\n| | Camera | ✔ | ✔ | ✔ | ✔ |\n| | Image Util | ✔ | ✔ | ✔ | ✔ |\n| | Media Codec | ✔ | ✔ | ✔ | ✔ |\n| | Media Controller | ✔ | ✔ | ✔ | ✔ |\n| | Media Demuxer | ✔ | ✔ | ✔ | ✔ |\n| | Media Muxer | ✔ | ✔ | ✔ | ✔ |\n| | Media Streamer | ✔ | ✔ | ✔ | ✔ |\n| | Media Tool | ✔ | ✔ | ✔ | ✔ |\n| | Media Vision | ✔ | ✔ | ✔ | ✔ |\n| | Media Editor | | | ✔ | ✔ |\n| | Metadata Editor | ✔ | ✔ | ✔ | ✔ |\n| | Metadata Extractor | ✔ | ✔ | ✔ | ✔ |\n| | Player | ✔ | ✔ | ✔ | ✔ |\n| | Radio | ✔ | ✔ | ✔ | ✔ |\n| | Recorder | ✔ | ✔ | ✔ | ✔ |\n| | Screen Mirroring | ✔ | ✔ | ✔ | ✔ |\n| | Sound Manager | ✔ | ✔ | ✔ | ✔ |\n| | Sound Pool | ✔ | ✔ | ✔ | ✔ |\n| | StreamRecorder | ✔ | ✔ | ✔ | ✔ |\n| | Thumbnail Util | ✔ | ✔ | ✔ | ✔ |\n| | Tone Player | ✔ | ✔ | ✔ | ✔ |\n| | Video Util | | | | |\n| | WAV Player | ✔ | ✔ | ✔ | ✔ |\n| | WebRTC  | | ✔ | ✔ | ✔ |\n| Network | Application Service Platform | ✔ | ✔ | ✔ | ✔ |\n| | Bluetooth | ✔ | ✔ | ✔ | ✔ |\n| | Connection | ✔ | ✔ | ✔ | ✔ |\n| | DNSSD | ✔ | ✔ | ✔ | ✔ |\n| | HTTP | ✔ | ✔ | ✔ | ✔ |\n| | Intelligent Network Monitoring | ✔ | ✔ | ✔ | ✔ |\n| | IoTCon | ✔ | ✔ | ✔ | ✔ |\n| | MTP | ✔ | ✔ | ✔ | ✔ |\n| | SSDP | ✔ | ✔ | ✔ | ✔ |\n| | Smart Traffic Control | ✔ | ✔ | ✔ | ✔ |\n| | Smartcard | | | | |\n| | SoftAP | ✔ | ✔ | ✔ | ✔ |\n| | User Awareness |\n| | VPN Service | ✔ | ✔ | ✔ | ✔ |\n| | Wi-Fi | ✔ | ✔ | ✔ | ✔ |\n| | Wi-Fi Direct | ✔ | ✔ | ✔ | ✔ |\n| Security | CSR | ✔ | ✔ | ✔ | ✔ |\n| | Device Certificate Manager | ✔ | ✔ | ✔ | ✔ |\n| | Device Policy Manager | ✔ | ✔ | ✔ | ✔ |\n| | Key Manager | ✔ | ✔ | ✔ | ✔ |\n| | Privacy Privilege Manager | ✔ | ✔ | ✔ | ✔ |\n| | Privilege Info | ✔ | ✔ | ✔ | ✔ |\n| | YACA | ✔ | ✔ | ✔ | ✔ |\n| Social | Calendar | ✔ | ✔ | ✔ | ✔ |\n| | Contacts | ✔ | ✔ | ✔ | ✔ |\n| | Phonenumber utils | ✔ | ✔ | ✔ | ✔ |\n| System | Device | ✔ | ✔ | ✔ | ✔ |\n| | Diagnostics | | | ✔ | ✔ | ✔ | ✔ |\n| | Dlog | ✔ | ✔ | ✔ | ✔ |\n| | Feedback | ✔ | ✔ | ✔ | ✔ |\n| | Media key | ✔ | ✔ | ✔ | ✔ |\n| | Monitor | | | ✔ | ✔ |\n| | Peripheral IO | ✔ | ✔ | ✔ | ✔ |\n| | Runtime information | ✔ | ✔ | ✔ | ✔ |\n| | Sensor | ✔ | ✔ | ✔ | ✔ |\n| | Storage | ✔ | ✔ | ✔ | ✔ |\n| | System Information | ✔ | ✔ | ✔ | ✔ |\n| | System Settings | ✔ | ✔ | ✔ | ✔ |\n| | T-trace | ✔ | ✔ | ✔ | ✔ |\n| | USB Host | ✔ | ✔ | ✔ | ✔ |\n| | Update Control | ✔ | ✔ | ✔ | ✔ |\n| Telephony | Telephony Information | | | | |\n| UI | Clipboard History Manager | ✔ | ✔ | ✔ | |\n| | DALi |\n| | EFL |\n| | External Output Manager | ✔ | ✔ | ✔ | ✔ |\n| | Minicontrol |\n| | TBM Surface | ✔ | ✔ | ✔ | ✔ |\n| | Tizen WS Shell |\n| | UI View Manager |\n| UIX | Autofill | ✔ | ✔ | ✔ | ✔ |\n| | Input Method | ✔ | ✔ | ✔ | ✔ |\n| | Input Method Manager | ✔ | ✔ | ✔ | ✔ |\n| | Multi assistant | ✔ | ✔ | ✔ | ✔ |\n| | STT | ✔ | ✔ | ✔ | ✔ |\n| | STT Engine | ✔ | ✔ | ✔ | ✔ |\n| | Sticker |\n| | TTS | ✔ | ✔ | ✔ | ✔ |\n| | TTS Engine | ✔ | ✔ | ✔ | ✔ |\n| | Voice control | ✔ | ✔ | ✔ | ✔ |\n| | Voice control elementary |\n| | Voice control engine | ✔ | ✔ | ✔ | ✔ |\n| | Voice control manager | ✔ | ✔ | ✔ | ✔ |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflutter-tizen%2Ftizen_interop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflutter-tizen%2Ftizen_interop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflutter-tizen%2Ftizen_interop/lists"}