INNER CODE UNIT · Swift

open

florent37/Flutter-AssetsAudioPlayer · darwin/Classes/Music.swift:488

    func open(assetPath: String,
              assetPackage: String?,
              audioType: String,
              autoStart: Bool,
              volume: Double,
              seek: Int?,
              respectSilentMode: Bool,
              audioMetas: AudioMetas,
              displayNotification: Bool,
              notificationSettings: NotificationSettings,
              audioFocusStrategy: AudioFocusStrategy,
              playSpeed: Double,
              networkHeaders: NSDictionary?,
              result: @escaping FlutterResult
    ){
        self.stop()
        guard let url = self.getUrlByType(path: assetPath, audioType: audioType, assetPackage: assetPackage) else {
            log("resource not found \(assetPath)")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…