MCPcopy Create free account
hub / github.com/HelloBush/Java_MHXYdemo / Play

Method Play

src/pkgDm/Dm2Java.java:2563–2565  ·  view source on GitHub ↗

播放指定的MP3或者wav文件. @param media_file 指定的音乐文件,可以采用文件名或者绝对路径的形式. @return 0 : 失败,非0表示当前播放的ID。可以用Stop来控制播放结束.

(String media_file)

Source from the content-addressed store, hash-verified

2561 * @return 0 : 失败,非0表示当前播放的ID。可以用Stop来控制播放结束.
2562 */
2563 public int Play(String media_file){
2564 return Dispatch.call(dm,"Play",media_file).getInt();
2565 }
2566
2567 /**
2568 * 设置剪贴板的内容

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
getIntMethod · 0.45

Tested by

no test coverage detected