transferOut method

  1. @override
Future<int> transferOut(
  1. Uint8List data,
  2. int timeout
)
override

Implementation

@override
Future<int> transferOut(Uint8List data, int timeout) async {
  final length = await methodChannel.invokeMethod<int>(
    'transferOut',
    {
      'data': data,
      'timeout': timeout,
    },
  );

  return length ?? -1;
}