Update changelog.
[SquirrelJME.git] / modules / vodafone-api / src / main / java / com / vodafone / v10 / system / media / MediaPlayer.java
blob754707779ffec8b77c45a8d3b7f2510b0664149e
1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
3 // SquirrelJME
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;
18 @Api
19 @SuppressWarnings("RedundantThrows")
20 public class MediaPlayer
21 extends Canvas
23 @Api
24 public static final int NO_DATA = 0;
26 @Api
27 public static final int READY = 1;
29 @Api
30 public static final int PLAYING = 2;
32 @Api
33 public static final int PAUSED = 3;
35 @Api
36 public static final int ERROR = 65536;
38 @Api
39 public MediaPlayer(byte[] var1)
43 @Api
44 public MediaPlayer(String var1)
45 throws IOException
49 @Api
50 public void setMediaData(byte[] var1)
52 throw Debugging.todo();
55 @Api
56 public void setMediaData(String var1)
57 throws IOException
59 throw Debugging.todo();
62 @Api
63 public int getState()
65 throw Debugging.todo();
68 @Api
69 public int getMediaWidth()
71 throw Debugging.todo();
74 @Api
75 public int getMediaHeight()
77 throw Debugging.todo();
80 @Override
81 public int getWidth()
83 throw Debugging.todo();
86 @Override
87 public int getHeight()
89 throw Debugging.todo();
92 @Api
93 public void setContentPos(int var1, int var2)
95 throw Debugging.todo();
98 @Api
99 public void play()
101 throw Debugging.todo();
104 @Api
105 public void play(boolean var1)
107 throw Debugging.todo();
110 @Api
111 public void stop()
113 throw Debugging.todo();
116 @Api
117 public void pause()
119 throw Debugging.todo();
122 @Api
123 public void resume()
125 throw Debugging.todo();
128 @Api
129 public void setMediaPlayerListener(MediaPlayerListener var1)
131 throw Debugging.todo();
134 @Override
135 protected void paint(Graphics var1)
137 throw Debugging.todo();
140 @Override
141 protected void showNotify()
143 throw Debugging.todo();
146 @Override
147 protected void hideNotify()
149 throw Debugging.todo();