|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectnetsurfers.gicp.net.common.AudioClip
public class AudioClip
AudioClip will control the music in the game
构造方法摘要 | |
---|---|
AudioClip(Context ctx,
int resID)
Constructor function of audio clip |
方法摘要 | |
---|---|
void |
loop()
Start and loop this media player |
void |
play()
Start to play music |
void |
release()
Release the resource of this media player |
void |
stop()
Stop this media player |
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
public AudioClip(Context ctx, int resID)
ctx
- This parameter use to create the media palyerresID
- The id of the resourceMediaPlayer#create(Context, int)
方法详细信息 |
---|
public void play()
public void stop()
public void loop()
public void release()
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |