- PlaystateApiFp(configuration?): {
markPlayedItem(itemId: string, userId?: string, datePlayed?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserItemDataDto>)>;
markUnplayedItem(itemId: string, userId?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserItemDataDto>)>;
onPlaybackProgress(itemId: string, mediaSourceId?: string, positionTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, volumeLevel?: number, playMethod?: PlayMethod, liveStreamId?: string, playSessionId?: string, repeatMode?: RepeatMode, isPaused?: boolean, isMuted?: boolean, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
onPlaybackStart(itemId: string, mediaSourceId?: string, audioStreamIndex?: number, subtitleStreamIndex?: number, playMethod?: PlayMethod, liveStreamId?: string, playSessionId?: string, canSeek?: boolean, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
onPlaybackStopped(itemId: string, mediaSourceId?: string, nextMediaType?: string, positionTicks?: number, liveStreamId?: string, playSessionId?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
pingPlaybackSession(playSessionId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
reportPlaybackProgress(playbackProgressInfo?: PlaybackProgressInfo, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
reportPlaybackStart(playbackStartInfo?: PlaybackStartInfo, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
reportPlaybackStopped(playbackStopInfo?: PlaybackStopInfo, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
} Returns {
markPlayedItem(itemId: string, userId?: string, datePlayed?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserItemDataDto>)>;
markUnplayedItem(itemId: string, userId?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserItemDataDto>)>;
onPlaybackProgress(itemId: string, mediaSourceId?: string, positionTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, volumeLevel?: number, playMethod?: PlayMethod, liveStreamId?: string, playSessionId?: string, repeatMode?: RepeatMode, isPaused?: boolean, isMuted?: boolean, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
onPlaybackStart(itemId: string, mediaSourceId?: string, audioStreamIndex?: number, subtitleStreamIndex?: number, playMethod?: PlayMethod, liveStreamId?: string, playSessionId?: string, canSeek?: boolean, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
onPlaybackStopped(itemId: string, mediaSourceId?: string, nextMediaType?: string, positionTicks?: number, liveStreamId?: string, playSessionId?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
pingPlaybackSession(playSessionId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
reportPlaybackProgress(playbackProgressInfo?: PlaybackProgressInfo, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
reportPlaybackStart(playbackStartInfo?: PlaybackStartInfo, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
reportPlaybackStopped(playbackStopInfo?: PlaybackStopInfo, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
}
markPlayedItem:function
- markPlayedItem(itemId, userId?, datePlayed?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserItemDataDto>)>
Parameters
- itemId: string
Optional
userId: stringOptional
datePlayed: stringOptional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserItemDataDto>)>
markUnplayedItem:function
- markUnplayedItem(itemId, userId?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserItemDataDto>)>
Parameters
- itemId: string
Optional
userId: stringOptional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserItemDataDto>)>
onPlaybackProgress:function
- onPlaybackProgress(itemId, mediaSourceId?, positionTicks?, audioStreamIndex?, subtitleStreamIndex?, volumeLevel?, playMethod?, liveStreamId?, playSessionId?, repeatMode?, isPaused?, isMuted?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Parameters
- itemId: string
Optional
mediaSourceId: stringOptional
positionTicks: numberOptional
audioStreamIndex: numberOptional
subtitleStreamIndex: numberOptional
volumeLevel: numberOptional
playMethod: PlayMethodOptional
liveStreamId: stringOptional
playSessionId: stringOptional
repeatMode: RepeatModeOptional
isPaused: booleanOptional
isMuted: booleanOptional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
onPlaybackStart:function
- onPlaybackStart(itemId, mediaSourceId?, audioStreamIndex?, subtitleStreamIndex?, playMethod?, liveStreamId?, playSessionId?, canSeek?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Parameters
- itemId: string
Optional
mediaSourceId: stringOptional
audioStreamIndex: numberOptional
subtitleStreamIndex: numberOptional
playMethod: PlayMethodOptional
liveStreamId: stringOptional
playSessionId: stringOptional
canSeek: booleanOptional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
onPlaybackStopped:function
- onPlaybackStopped(itemId, mediaSourceId?, nextMediaType?, positionTicks?, liveStreamId?, playSessionId?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Parameters
- itemId: string
Optional
mediaSourceId: stringOptional
nextMediaType: stringOptional
positionTicks: numberOptional
liveStreamId: stringOptional
playSessionId: stringOptional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
pingPlaybackSession:function
- pingPlaybackSession(playSessionId, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Parameters
- playSessionId: string
Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
reportPlaybackProgress:function
- reportPlaybackProgress(playbackProgressInfo?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
reportPlaybackStart:function
- reportPlaybackStart(playbackStartInfo?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
reportPlaybackStopped:function
- reportPlaybackStopped(playbackStopInfo?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Parameters
Optional
playbackStopInfo: PlaybackStopInfoOptional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
PlaystateApi - functional programming interface
Export