admin
2023-10-08 2c5b6e472c368e80d85b8ea2b461c9ea62981d9b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package com.weikou.beibeivideo.util.video;
 
import android.content.Context;
 
import com.weikou.beibeivideo.BasicTextHttpResponseHandler;
import com.weikou.beibeivideo.BeibeiVideoAPI;
 
import org.apache.http.Header;
import org.json.JSONObject;
 
import java.util.Map;
 
/**
 * 抖音信息收集
 */
public class DPEventCollectUtil {
 
 
    /**
     * 沉浸式视频播放
     *
     * @param context
     * @param from
     */
    public static void playDrawVideo(Context context, Map<String, Object> map, String type, String from, boolean complete) {
 
        BeibeiVideoAPI.playDrawVideo(context, type, from, complete, new BasicTextHttpResponseHandler() {
            @Override
            public void onSuccessPerfect(int statusCode, Header[] headers, JSONObject jsonObject) throws Exception {
 
            }
        });
    }
 
 
    /**
     * 进入详情
     *
     * @param context
     * @param map
     */
    public static void newsDetailEnter(Context context, Map<String, Object> map) {
        BeibeiVideoAPI.readNews(context, new BasicTextHttpResponseHandler() {
            @Override
            public void onSuccessPerfect(int statusCode, Header[] headers, JSONObject jsonObject) throws Exception {
 
            }
        });
    }
 
 
}