Function PlaystateApiFactory
- PlaystateApiFactory(configuration?, basePath?, axios?): {
markPlayedItem(requestParameters: PlaystateApiMarkPlayedItemRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserItemDataDto>;
markUnplayedItem(requestParameters: PlaystateApiMarkUnplayedItemRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserItemDataDto>;
onPlaybackProgress(requestParameters: PlaystateApiOnPlaybackProgressRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
onPlaybackStart(requestParameters: PlaystateApiOnPlaybackStartRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
onPlaybackStopped(requestParameters: PlaystateApiOnPlaybackStoppedRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
pingPlaybackSession(requestParameters: PlaystateApiPingPlaybackSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
reportPlaybackProgress(requestParameters?: PlaystateApiReportPlaybackProgressRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
reportPlaybackStart(requestParameters?: PlaystateApiReportPlaybackStartRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
reportPlaybackStopped(requestParameters?: PlaystateApiReportPlaybackStoppedRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
} Parameters
Optional
configuration: ConfigurationOptional
basePath: stringOptional
axios: AxiosInstance
Returns {
markPlayedItem(requestParameters: PlaystateApiMarkPlayedItemRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserItemDataDto>;
markUnplayedItem(requestParameters: PlaystateApiMarkUnplayedItemRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserItemDataDto>;
onPlaybackProgress(requestParameters: PlaystateApiOnPlaybackProgressRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
onPlaybackStart(requestParameters: PlaystateApiOnPlaybackStartRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
onPlaybackStopped(requestParameters: PlaystateApiOnPlaybackStoppedRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
pingPlaybackSession(requestParameters: PlaystateApiPingPlaybackSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
reportPlaybackProgress(requestParameters?: PlaystateApiReportPlaybackProgressRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
reportPlaybackStart(requestParameters?: PlaystateApiReportPlaybackStartRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
reportPlaybackStopped(requestParameters?: PlaystateApiReportPlaybackStoppedRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
}
markPlayedItem:function
markUnplayedItem:function
- markUnplayedItem(requestParameters, options?): AxiosPromise<UserItemDataDto>
onPlaybackProgress:function
- onPlaybackProgress(requestParameters, options?): AxiosPromise<void>
Returns AxiosPromise<void>
onPlaybackStart:function
- onPlaybackStart(requestParameters, options?): AxiosPromise<void>
Returns AxiosPromise<void>
onPlaybackStopped:function
- onPlaybackStopped(requestParameters, options?): AxiosPromise<void>
Returns AxiosPromise<void>
pingPlaybackSession:function
- pingPlaybackSession(requestParameters, options?): AxiosPromise<void>
Returns AxiosPromise<void>
reportPlaybackProgress:function
- reportPlaybackProgress(requestParameters?, options?): AxiosPromise<void>
Returns AxiosPromise<void>
reportPlaybackStart:function
- reportPlaybackStart(requestParameters?, options?): AxiosPromise<void>
Returns AxiosPromise<void>
reportPlaybackStopped:function
- reportPlaybackStopped(requestParameters?, options?): AxiosPromise<void>
Returns AxiosPromise<void>
PlaystateApi - factory interface
Export