mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
less interfacy.. more classy
This commit is contained in:
parent
8277999b16
commit
5d0501be82
1 changed files with 25 additions and 7 deletions
|
|
@ -4,12 +4,30 @@ import android.graphics.Bitmap;
|
||||||
|
|
||||||
public class ImageCue extends Cue {
|
public class ImageCue extends Cue {
|
||||||
|
|
||||||
public ImageCue() { super(""); }
|
final private long start_display_time;
|
||||||
|
final private int x;
|
||||||
|
final private int y;
|
||||||
|
final private int height;
|
||||||
|
final private int width;
|
||||||
|
final private Bitmap bitmap;
|
||||||
|
final private boolean isForced;
|
||||||
|
|
||||||
public Bitmap getBitmap() { return null; }
|
public ImageCue(Bitmap bitmap, long start_display_time, int x, int y, int width, int height, boolean isForced) {
|
||||||
public int getX() { return 0; }
|
super("");
|
||||||
public int getY() { return 0; }
|
this.bitmap = bitmap;
|
||||||
public int getWidth() { return 0; }
|
this.start_display_time = start_display_time;
|
||||||
public int getHeight() { return 0; }
|
this.x = x;
|
||||||
public boolean isForcedSubtitle() { return false; }
|
this.y = y;
|
||||||
|
this.width = width;
|
||||||
|
this.height = height;
|
||||||
|
this.isForced = isForced;
|
||||||
|
}
|
||||||
|
|
||||||
|
public long getStartDisplayTime() { return start_display_time; }
|
||||||
|
public Bitmap getBitmap() { return bitmap; }
|
||||||
|
public int getX() { return x; }
|
||||||
|
public int getY() { return y; }
|
||||||
|
public int getWidth() { return width; }
|
||||||
|
public int getHeight() { return height; }
|
||||||
|
public boolean isForcedSubtitle() { return isForced; }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue