override

fun

onAttachedToEngine

@NonNull

flutterPluginBinding

FlutterPlugin

FlutterPluginBinding

val

taskQueue

flutterPluginBinding

binaryMessenger

makeBackgroundTaskQueue

()

channel

MethodChannel

flutterPluginBinding

binaryMessenger

"com.example.foo"

StandardMethodCodec

INSTANCE

taskQueue

channel

setMethodCallHandler

this

In Swift:

Note:
  In release 2.10, the Task Queue API is only available on the master channel
  for iOS.

public

static

func

register