INNER CODE UNIT · Swift

MessagesPigeonCodec

solid-software/flutter_vlc_player · flutter_vlc_player/ios/Classes/Messages.swift:291

class MessagesPigeonCodec: FlutterStandardMessageCodec, @unchecked Sendable {
  static let shared = MessagesPigeonCodec(readerWriter: MessagesPigeonCodecReaderWriter())
}

/// Generated protocol from Pigeon that represents a handler of messages from Flutter.
protocol VlcPlayerApi {
  func initialize() throws
  func create(msg: CreateMessage) throws
  func dispose(playerId: Int64) throws
  func setStreamUrl(msg: SetMediaMessage) throws
  func play(playerId: Int64) throws
  func pause(playerId: Int64) throws
  func stop(playerId: Int64) throws
  func isPlaying(playerId: Int64) throws -> Bool
  func isSeekable(playerId: Int64) throws -> Bool
  func setLooping(playerId: Int64, isLooping: Bool) throws
  func seekTo(playerId: Int64, position: Int64) throws
  func position(playerId: Int64) throws -> Int64

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…