导航菜单

页面标题

页面副标题

哔哩哔哩 v1.6.6 - BiliPlayerHistoryService.java 源代码

正在查看: 哔哩哔哩 v1.6.6 应用的 BiliPlayerHistoryService.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.bilibili.tv.api.history;

import bl.vp;
import com.alibaba.fastjson.JSONObject;
import com.bilibili.okretro.GeneralResponse;
import com.bilibili.tv.api.video.BiliVideoDetail;
import java.util.List;
import retrofit2.http.BaseUrl;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;

@BaseUrl(a = "http://api.bilibili.com")
public interface BiliPlayerHistoryService {
    @POST(a = "/x/v2/history/clear")
    vp<JSONObject> clearVideoHistories(@Query(a = "access_key") String str);

    @POST(a = "/x/v2/history/delete")
    vp<JSONObject> clearVideoHistories(@Query(a = "access_key") String str, @Query(a = "kid") String str2);

    @POST(a = "/x/v2/history/toview/del?viewed=true")
    vp<JSONObject> clearVideoToviews(@Query(a = "access_key") String str);

    @POST(a = "/x/v2/history/toview/del")
    vp<JSONObject> clearVideoToviews(@Query(a = "access_key") String str, @Query(a = "aid") long j);

    @GET(a = "/x/v2/history?pn=1&ps=200")
    vp<GeneralResponse<List<BiliVideoDetail>>> getVideoHistoryList(@Query(a = "access_key") String str);

    @GET(a = "/x/v2/history/toview")
    vp<GeneralResponse<JSONObject>> getVideoToviewList(@Query(a = "access_key") String str);

    @FormUrlEncoded
    @POST(a = "/x/v2/history/report")
    vp<GeneralResponse<Void>> reportProgress(@Field(a = "access_key") String str, @Field(a = "cid") long j, @Field(a = "aid") long j2, @Field(a = "sid") long j3, @Field(a = "epid") long j4, @Field(a = "progress") long j5, @Field(a = "type") int i, @Field(a = "realtime") long j6);
}