1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the GNU General Public License v3+, or later.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package com
.vodafone
.v10
.system
.media
;
12 import cc
.squirreljme
.runtime
.cldc
.annotation
.Api
;
13 import cc
.squirreljme
.runtime
.cldc
.debug
.Debugging
;
14 import java
.io
.IOException
;
15 import javax
.microedition
.lcdui
.Canvas
;
16 import javax
.microedition
.lcdui
.Graphics
;
19 @SuppressWarnings("RedundantThrows")
20 public class MediaPlayer
24 public static final int NO_DATA
= 0;
27 public static final int READY
= 1;
30 public static final int PLAYING
= 2;
33 public static final int PAUSED
= 3;
36 public static final int ERROR
= 65536;
39 public MediaPlayer(byte[] var1
)
44 public MediaPlayer(String var1
)
50 public void setMediaData(byte[] var1
)
52 throw Debugging
.todo();
56 public void setMediaData(String var1
)
59 throw Debugging
.todo();
65 throw Debugging
.todo();
69 public int getMediaWidth()
71 throw Debugging
.todo();
75 public int getMediaHeight()
77 throw Debugging
.todo();
83 throw Debugging
.todo();
87 public int getHeight()
89 throw Debugging
.todo();
93 public void setContentPos(int var1
, int var2
)
95 throw Debugging
.todo();
101 throw Debugging
.todo();
105 public void play(boolean var1
)
107 throw Debugging
.todo();
113 throw Debugging
.todo();
119 throw Debugging
.todo();
125 throw Debugging
.todo();
129 public void setMediaPlayerListener(MediaPlayerListener var1
)
131 throw Debugging
.todo();
135 protected void paint(Graphics var1
)
137 throw Debugging
.todo();
141 protected void showNotify()
143 throw Debugging
.todo();
147 protected void hideNotify()
149 throw Debugging
.todo();