MediaSetVideoEntry.java
3.69 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* com.scene7.is.provider.catalog.Catalog
* com.scene7.is.util.SizeInt
* com.scene7.is.util.callbacks.Option
* org.jetbrains.annotations.NotNull
* org.jetbrains.annotations.Nullable
*/
package com.scene7.is.ps.provider.fvctx;
import com.scene7.is.provider.catalog.Catalog;
import com.scene7.is.ps.provider.fvctx.MediaSetMetaData;
import com.scene7.is.util.SizeInt;
import com.scene7.is.util.callbacks.Option;
import java.util.Arrays;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public class MediaSetVideoEntry {
@NotNull
private final Catalog catalog;
@NotNull
private final String recordId;
@NotNull
private final String netPath;
@NotNull
private final String fileSuffix;
@NotNull
private final String filePath;
@NotNull
private final MediaSetMetaData metaData;
@NotNull
private final byte[] versionKey;
private final boolean isInCatalog;
@Nullable
private final String posterImage;
private final Option<Long> bitRate;
@NotNull
private final Option<SizeInt> videoSize;
@NotNull
private final Option<String> videoFormat;
@NotNull
private Option<String> httpFlashStreamingContext = Option.none();
@NotNull
private Option<String> httpAppleStreamingContext = Option.none();
public MediaSetVideoEntry(@NotNull Catalog catalog, @NotNull String recordId, @NotNull String netPath, @NotNull String fileSuffix, @NotNull String filePath, @NotNull MediaSetMetaData metaData, @NotNull byte[] versionKey, boolean isInCatalog, @Nullable String posterImage, Option<Long> bitRate, @NotNull Option<SizeInt> videoSize, @NotNull Option<String> videoFormat, @NotNull Option<String> httpFlashStreamingContext, @NotNull Option<String> httpAppleStreamingContext) {
this.catalog = catalog;
this.recordId = recordId;
this.netPath = netPath;
this.fileSuffix = fileSuffix;
this.filePath = filePath;
this.metaData = metaData;
this.versionKey = Arrays.copyOf(versionKey, versionKey.length);
this.isInCatalog = isInCatalog;
this.posterImage = posterImage;
this.bitRate = bitRate;
this.videoSize = videoSize;
this.videoFormat = videoFormat;
this.httpFlashStreamingContext = httpFlashStreamingContext;
this.httpAppleStreamingContext = httpAppleStreamingContext;
}
@NotNull
public Catalog getCatalog() {
return this.catalog;
}
@NotNull
public String getRecordId() {
return this.recordId;
}
@NotNull
public String getNetPath() {
return this.netPath;
}
@NotNull
public String getFileSuffix() {
return this.fileSuffix;
}
@NotNull
public MediaSetMetaData getMetaData() {
return this.metaData;
}
@NotNull
public byte[] getVersionKey() {
return this.versionKey;
}
public boolean isInCatalog() {
return this.isInCatalog;
}
@Nullable
public String getPosterImage() {
return this.posterImage;
}
@NotNull
public String getFilePath() {
return this.filePath;
}
public Option<Long> getBitRate() {
return this.bitRate;
}
@NotNull
public Option<SizeInt> getVideoSize() {
return this.videoSize;
}
@NotNull
public Option<String> getVideoFormat() {
return this.videoFormat;
}
@NotNull
public Option<String> getHttpFlashStreamingContext() {
return this.httpFlashStreamingContext;
}
@NotNull
public Option<String> getHttpAppleStreamingContext() {
return this.httpAppleStreamingContext;
}
}