Function PlaystateApiFactory
- PlaystateApiFactory(
configuration?: Configuration,
basePath?: string,
axios?: AxiosInstance,
): {
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
onPlaybackProgress:function
onPlaybackStart:function
onPlaybackStopped:function
pingPlaybackSession:function
reportPlaybackProgress:function
reportPlaybackStart:function
reportPlaybackStopped:function
PlaystateApi - factory interface
Export