123456789101112131415 |
- import Flutter
- import UIKit
-
- public class SwiftMofunFlutterPluginVideoPlugin: NSObject, FlutterPlugin {
- public static func register(with registrar: FlutterPluginRegistrar) {
- let channel = FlutterMethodChannel(name: "mofun_flutter_plugin_video", binaryMessenger: registrar.messenger())
- let instance = SwiftMofunFlutterPluginVideoPlugin()
- registrar.addMethodCallDelegate(instance, channel: channel)
- }
-
- public func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) {
- result("iOS " + UIDevice.current.systemVersion)
- }
- }
|