RemoteMediaClient tracksChooser ios (TODO)
This commit is contained in:
parent
9c8327b6ab
commit
3eb9e5a7b9
2 changed files with 20 additions and 1 deletions
|
|
@ -143,7 +143,7 @@ I used this project to test the capabilities of the following technologies:
|
||||||
|
|
||||||
## Roadmap
|
## Roadmap
|
||||||
|
|
||||||
* CC in Expanded Controls
|
* CC in Expanded Controls (iOS)
|
||||||
* Handle Ad Break
|
* Handle Ad Break
|
||||||
* Handle progress seek
|
* Handle progress seek
|
||||||
* Handle queue
|
* Handle queue
|
||||||
|
|
|
||||||
|
|
@ -239,6 +239,25 @@ public class SwiftFlutterCastFrameworkPlugin: NSObject, FlutterPlugin, GCKSessio
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public func showTracksChooserDialogWithError(_ error: AutoreleasingUnsafeMutablePointer<FlutterError?>) {
|
||||||
|
// let dialog = GCKUIMediaTrackSelectionViewController.init()
|
||||||
|
// let rootViewController = UIApplication.shared.keyWindow?.rootViewController
|
||||||
|
//
|
||||||
|
// if (rootViewController is UINavigationController) {
|
||||||
|
// debugPrint("showTracksChooserDialog: rootViewController is UINavigationController")
|
||||||
|
// (rootViewController as! UINavigationController).pushViewController(dialog,animated:true)
|
||||||
|
// } else if rootViewController != nil {
|
||||||
|
// debugPrint("showTracksChooserDialog: rootViewController is UINavigationController")
|
||||||
|
// let navigationController = UINavigationController(rootViewController:dialog)
|
||||||
|
// rootViewController?.present(navigationController, animated:true, completion:nil)
|
||||||
|
// }
|
||||||
|
// else {
|
||||||
|
// debugPrint("showTracksChooserDialog: missing rootViewController")
|
||||||
|
// }
|
||||||
|
// TODO: implement this feature
|
||||||
|
print("showTracksChooserDialog: unsupported feature")
|
||||||
|
}
|
||||||
|
|
||||||
// MARK: - GCKSessionManagerListener
|
// MARK: - GCKSessionManagerListener
|
||||||
|
|
||||||
// onSessionSuspended
|
// onSessionSuspended
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue