mockingbird_platform_interface 0.1.0 copy "mockingbird_platform_interface: ^0.1.0" to clipboard
mockingbird_platform_interface: ^0.1.0 copied to clipboard

The platform interface of the mockingbird plugin: plain data records, the engine contract, and the shared dart:ffi implementation for native platforms.

example/main.dart

import 'dart:io';

import 'package:mockingbird_platform_interface/mockingbird_platform_interface.dart';

/// Reads the engine version through whichever platform registered itself.
/// Apps use the `mockingbird` package instead of this one.
void main() {
  final platform = MockingbirdPlatform.instance;
  stdout
    ..writeln('Mockingbird ${platform.version()}')
    ..writeln(platform.statusName(MockingbirdStatusCode.queueEmpty));
}
0
likes
160
points
229
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

The platform interface of the mockingbird plugin: plain data records, the engine contract, and the shared dart:ffi implementation for native platforms.

Repository (GitHub)
View/report issues

Topics

#audio #ffi #platform-interface

License

MIT (license)

Dependencies

ffi, flutter, plugin_platform_interface

More

Packages that depend on mockingbird_platform_interface