Function PlaystateApiAxiosParamCreator
- PlaystateApiAxiosParamCreator(configuration?): {
markPlayedItem: ((itemId: string, userId?: string, datePlayed?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
markUnplayedItem: ((itemId: string, userId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
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<RequestArgs>);
onPlaybackStart: ((itemId: string, mediaSourceId?: string, audioStreamIndex?: number, subtitleStreamIndex?: number, playMethod?: PlayMethod, liveStreamId?: string, playSessionId?: string, canSeek?: boolean, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
onPlaybackStopped: ((itemId: string, mediaSourceId?: string, nextMediaType?: string, positionTicks?: number, liveStreamId?: string, playSessionId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
pingPlaybackSession: ((playSessionId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
reportPlaybackProgress: ((playbackProgressInfo?: PlaybackProgressInfo, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
reportPlaybackStart: ((playbackStartInfo?: PlaybackStartInfo, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
reportPlaybackStopped: ((playbackStopInfo?: PlaybackStopInfo, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
} Returns {
markPlayedItem: ((itemId: string, userId?: string, datePlayed?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
markUnplayedItem: ((itemId: string, userId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
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<RequestArgs>);
onPlaybackStart: ((itemId: string, mediaSourceId?: string, audioStreamIndex?: number, subtitleStreamIndex?: number, playMethod?: PlayMethod, liveStreamId?: string, playSessionId?: string, canSeek?: boolean, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
onPlaybackStopped: ((itemId: string, mediaSourceId?: string, nextMediaType?: string, positionTicks?: number, liveStreamId?: string, playSessionId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
pingPlaybackSession: ((playSessionId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
reportPlaybackProgress: ((playbackProgressInfo?: PlaybackProgressInfo, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
reportPlaybackStart: ((playbackStartInfo?: PlaybackStartInfo, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
reportPlaybackStopped: ((playbackStopInfo?: PlaybackStopInfo, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
}
markPlayedItem: ((itemId: string, userId?: string, datePlayed?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (itemId, userId?, datePlayed?, options?): Promise<RequestArgs>
Parameters
- itemId: string
Optional
userId: stringOptional
datePlayed: stringOptional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
markUnplayedItem: ((itemId: string, userId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (itemId, userId?, options?): Promise<RequestArgs>
Parameters
- itemId: string
Optional
userId: stringOptional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
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<RequestArgs>)
- (itemId, mediaSourceId?, positionTicks?, audioStreamIndex?, subtitleStreamIndex?, volumeLevel?, playMethod?, liveStreamId?, playSessionId?, repeatMode?, isPaused?, isMuted?, options?): Promise<RequestArgs>
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<RequestArgs>
onPlaybackStart: ((itemId: string, mediaSourceId?: string, audioStreamIndex?: number, subtitleStreamIndex?: number, playMethod?: PlayMethod, liveStreamId?: string, playSessionId?: string, canSeek?: boolean, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (itemId, mediaSourceId?, audioStreamIndex?, subtitleStreamIndex?, playMethod?, liveStreamId?, playSessionId?, canSeek?, options?): Promise<RequestArgs>
Parameters
- itemId: string
Optional
mediaSourceId: stringOptional
audioStreamIndex: numberOptional
subtitleStreamIndex: numberOptional
playMethod: PlayMethodOptional
liveStreamId: stringOptional
playSessionId: stringOptional
canSeek: booleanOptional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
onPlaybackStopped: ((itemId: string, mediaSourceId?: string, nextMediaType?: string, positionTicks?: number, liveStreamId?: string, playSessionId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (itemId, mediaSourceId?, nextMediaType?, positionTicks?, liveStreamId?, playSessionId?, options?): Promise<RequestArgs>
Parameters
- itemId: string
Optional
mediaSourceId: stringOptional
nextMediaType: stringOptional
positionTicks: numberOptional
liveStreamId: stringOptional
playSessionId: stringOptional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
pingPlaybackSession: ((playSessionId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (playSessionId, options?): Promise<RequestArgs>
Parameters
- playSessionId: string
Optional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
reportPlaybackProgress: ((playbackProgressInfo?: PlaybackProgressInfo, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (playbackProgressInfo?, options?): Promise<RequestArgs>
Returns Promise<RequestArgs>
reportPlaybackStart: ((playbackStartInfo?: PlaybackStartInfo, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (playbackStartInfo?, options?): Promise<RequestArgs>
Parameters
Optional
playbackStartInfo: PlaybackStartInfoOptional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
reportPlaybackStopped: ((playbackStopInfo?: PlaybackStopInfo, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (playbackStopInfo?, options?): Promise<RequestArgs>
Parameters
Optional
playbackStopInfo: PlaybackStopInfoOptional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
PlaystateApi - axios parameter creator
Export