{"size": 481, "ext": "js", "max_stars_repo_path": "app/api/Player/StreamingProviders/StreamingInterface.js", "max_stars_repo_name": "popcorn-official/popcorn-time-desktop", "max_stars_repo_stars_event_min_datetime": "2020-03-28T14:21:31.000Z", "max_stars_repo_stars_event_max_datetime": "2021-07-30T22:22:00.000Z", "max_issues_repo_path": "app/api/Player/StreamingProviders/StreamingInterface.js", "max_issues_repo_name": "TriPSs/popcorn-time-desktop", "max_issues_repo_issues_event_min_datetime": "2017-07-10T08:12:09.000Z", "max_issues_repo_issues_event_max_datetime": "2017-08-18T12:22:47.000Z", "max_forks_repo_path": "app/api/Player/StreamingProviders/StreamingInterface.js", "max_forks_repo_name": "popcorn-official/popcorn-time-desktop", "max_forks_repo_forks_event_min_datetime": "2020-05-06T07:43:32.000Z", "max_forks_repo_forks_event_max_datetime": "2022-01-14T16:49:49.000Z"}
{"max_stars_count": 9, "max_issues_count": 21, "max_forks_count": 10, "avg_line_length": 19.24, "max_line_length": 69, "alphanum_fraction": 0.6902286902}
// @flow
import type { ContentType } from 'api/Metadata/MetadataTypes'
import type { DeviceType } from './StreamingTypes'
import { PlayerProviderInterface } from '../PlayerInterface'

export interface StreamingInterface extends PlayerProviderInterface {

  provider: string,

  devices: Array<DeviceType>,

  status: string,

  getDevices: () => Promise,

  play: (uri: string, item: ContentType) => void,

  togglePlay: () => void,

  stop: () => void,

  destroy: () => void,

}
