func insertVideos()

in Sources/Bridget/native.swift [972:1000]


  func insertVideos(videoSlots: TList<VideoSlot>, completion: @escaping (Result<Void, Error>) -> Void)

  ///
  /// - Parameters:
  ///   - videoSlots: 
  ///   - completion: Result<Void, Error> wrapping return and following Exceptions: 
  func updateVideos(videoSlots: TList<VideoSlot>, completion: @escaping (Result<Void, Error>) -> Void)

  ///
  /// - Parameters:
  ///   - videoEvent: 
  ///   - completion: Result<Void, Error> wrapping return and following Exceptions: 
  func sendVideoEvent(videoEvent: VideoEvent, completion: @escaping (Result<Void, Error>) -> Void)

  /// This method is used by the web layer to instruct the native layer to activate or deactivate fullscreen mode
  /// This is currently only required for Android as the fullscreen control on the YouTube player in Android webviews is a no-op
  /// @param isFullscreen true if the web layer is fullscreen, false otherwise
  /// @returns true if the native operation was successful, false otherwise
  /// On Android, this method will return true if the operation was successful, false otherwise
  /// On iOS, this method will always return false
  ///
  /// - Parameters:
  ///   - isFullscreen: 
  ///   - completion: Result<Bool, Error> wrapping return and following Exceptions: 
  func setFullscreen(isFullscreen: Bool, completion: @escaping (Result<Bool, Error>) -> Void)

}

open class VideosProcessor /* Videos */ {