/*
* This file is auto-generated. DO NOT MODIFY.
* Original file: C:\\workspace\\App_elfPlayer\\src\\app\\android\\elfplayer\\IServicePlayer.aidl
*/
package app.android.elfplayer;
public interface IServicePlayer extends android.os.IInterface
{
/** Local-side IPC implementation stub class. */
public static abstract class Stub extends android.os.Binder implements app.android.elfplayer.IServicePlayer
{
private static final java.lang.String DESCRIPTOR = "app.android.elfplayer.IServicePlayer";
/** Construct the stub at attach it to the interface. */
public Stub()
{
this.attachInterface(this, DESCRIPTOR);
}
/**
* Cast an IBinder object into an app.android.elfplayer.IServicePlayer interface,
* generating a proxy if needed.
*/
public static app.android.elfplayer.IServicePlayer asInterface(android.os.IBinder obj)
{
if ((obj==null)) {
return null;
}
android.os.IInterface iin = (android.os.IInterface)obj.queryLocalInterface(DESCRIPTOR);
if (((iin!=null)&&(iin instanceof app.android.elfplayer.IServicePlayer))) {
return ((app.android.elfplayer.IServicePlayer)iin);
}
return new app.android.elfplayer.IServicePlayer.Stub.Proxy(obj);
}
public android.os.IBinder asBinder()
{
return this;
}
@Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) throws android.os.RemoteException
{
switch (code)
{
case INTERFACE_TRANSACTION:
{
reply.writeString(DESCRIPTOR);
return true;
}
case TRANSACTION_play:
{
data.enforceInterface(DESCRIPTOR);
this.play();
reply.writeNoException();
return true;
}
case TRANSACTION_pause:
{
data.enforceInterface(DESCRIPTOR);
this.pause();
reply.writeNoException();
return true;
}
case TRANSACTION_stop:
{
data.enforceInterface(DESCRIPTOR);
this.stop();
reply.writeNoException();
return true;
}
case TRANSACTION_getDuration:
{
data.enforceInterface(DESCRIPTOR);
int _result = this.getDuration();
reply.writeNoException();
reply.writeInt(_result);
return true;
}
case TRANSACTION_getCurrentPosition:
{
data.enforceInterface(DESCRIPTOR);
int _result = this.getCurrentPosition();
reply.writeNoException();
reply.writeInt(_result);
return true;
}
case TRANSACTION_seekTo:
{
data.enforceInterface(DESCRIPTOR);
int _arg0;
_arg0 = data.readInt();
this.seekTo(_arg0);
reply.writeNoException();
return true;
}
case TRANSACTION_setLoop:
{
data.enforceInterface(DESCRIPTOR);
boolean _arg0;
_arg0 = (0!=data.readInt());
boolean _result = this.setLoop(_arg0);
reply.writeNoException();
reply.writeInt(((_result)?(1):(0)));
return true;
}
}
return super.onTransact(code, data, reply, flags);
}
private static class Proxy implements app.android.elfplayer.IServicePlayer
{
private android.os.IBinder mRemote;
Proxy(android.os.IBinder remote)
{
mRemote = remote;
}
public android.os.IBinder asBinder()
{
return mRemote;
}
public java.lang.String getInterfaceDescriptor()
{
return DESCRIPTOR;
}
public void play() throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
mRemote.transact(Stub.TRANSACTION_play, _data, _reply, 0);
_reply.readException();
}
finally {
_reply.recycle();
_data.recycle();
}
}
public void pause() throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
mRemote.transact(Stub.TRANSACTION_pause, _data, _reply, 0);
_reply.readException();
}
finally {
_reply.recycle();
_data.recycle();
}
}
public void stop() throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
mRemote.transact(Stub.TRANSACTION_stop, _data, _reply, 0);
_reply.readException();
}
finally {
_reply.recycle();
_data.recycle();
}
}
public int getDuration() throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
int _result;
try {
_data.writeInterfaceToken(DESCRIPTOR);
mRemote.transact(Stub.TRANSACTION_getDuration, _data, _reply, 0);
_reply.readException();
_result = _reply.readInt();
}
finally {
_reply.recycle();
_data.recycle();
}
return _result;
}
public int getCurrentPosition() throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
int _result;
try {
_data.writeInterfaceToken(DESCRIPTOR);
mRemote.transact(Stub.TRANSACTION_getCurrentPosition, _data, _reply, 0);
_reply.readException();
_result = _reply.readInt();
}
finally {
_reply.recycle();
_data.recycle();
}
return _result;
}
public void seekTo(int current) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(current);
mRemote.transact(Stub.TRANSACTION_seekTo, _data, _reply, 0);
_reply.readException();
}
finally {
_reply.recycle();
_data.recycle();
}
}
public boolean setLoop(boolean loop) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
boolean _result;
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(((loop)?(1):(0)));
mRemote.transact(Stub.TRANSACTION_setLoop, _data, _reply, 0);
_reply.readException();
_result = (0!=_reply.readInt());
}
finally {
_reply.recycle();
_data.recycle();
}
return _result;
}
}
static final int TRANSACTION_play = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0);
static final int TRANSACTION_pause = (android.os.IBinder.FIRST_CALL_TRANSACTION + 1);
static final int TRANSACTION_stop = (android.os.IBinder.FIRST_CALL_TRANSACTION + 2);
static final int TRANSACTION_getDuration = (android.os.IBinder.FIRST_CALL_TRANSACTION + 3);
static final int TRANSACTION_getCurrentPosition = (android.os.IBinder.FIRST_CALL_TRANSACTION + 4);
static final int TRANSACTION_seekTo = (android.os.IBinder.FIRST_CALL_TRANSACTION + 5);
static final int TRANSACTION_setLoop = (android.os.IBinder.FIRST_CALL_TRANSACTION + 6);
}
public void play() throws android.os.RemoteException;
public void pause() throws android.os.RemoteException;
public void stop() throws android.os.RemoteException;
public int getDuration() throws android.os.RemoteException;
public int getCurrentPosition() throws android.os.RemoteException;
public void seekTo(int current) throws android.os.RemoteException;
public boolean setLoop(boolean loop) throws android.os.RemoteException;
}
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
App_elfPlayer.zip (70个子文件)
App_elfPlayer
.project 849B
proguard.cfg 1KB
src
app
android
elfplayer
CoverActivity.java 944B
IServicePlayer.aidl 216B
PlayerActivity.java 3KB
MusicService.java 1KB
ElfPlayerUtil.java 860B
AndroidManifest.xml 787B
res
drawable-ldpi
icon.png 4KB
drawable-hdpi
icon.png 6KB
drawable
speaker_button.xml 176B
favorite_button.xml 267B
pre_white.png 74KB
repeat_off_button.xml 180B
thumb_green.png 43KB
next_white.png 72KB
next_grey.png 75KB
favorite_grey.png 51KB
lizongsheng.jpg 144KB
repeat_on_button.xml 181B
seekbar_bg_green.png 45KB
thumb.png 42KB
pre_button.xml 259B
cover.png 336KB
play.png 74KB
seekbar_thumb.xml 249B
background.jpg 11KB
seekbar_bg.xml 420B
next_button.xml 261B
favorite_red.png 52KB
repeat_grey.png 52KB
speaker.png 721B
play_button.xml 173B
pre_grey.png 74KB
seekbar_bg_grey.png 45KB
pause.png 73KB
repeat_green.png 52KB
pause_button.xml 174B
drawable-mdpi
icon.png 4KB
layout
cover.xml 392B
player.xml 2KB
values
strings.xml 175B
gen
app
android
elfplayer
R.java 3KB
IServicePlayer.java 6KB
default.properties 362B
.classpath 280B
bin
resources.ap_ 294KB
classes.dex 14KB
App_elfPlayer.apk 304KB
app
android
elfplayer
R$layout.class 434B
PlayerActivity$3.class 1KB
R$drawable.class 1KB
R$attr.class 349B
CoverActivity$1.class 955B
PlayerActivity.class 3KB
PlayerActivity$2.class 677B
PlayerActivity$5.class 1KB
MusicService.class 1KB
IServicePlayer.aidl 216B
MusicService$1.class 1KB
PlayerActivity$4.class 2KB
PlayerActivity$1.class 1KB
IServicePlayer.class 518B
R$id.class 744B
ElfPlayerUtil.class 1KB
CoverActivity.class 945B
R.class 552B
R$string.class 436B
IServicePlayer$Stub.class 3KB
IServicePlayer$Stub$Proxy.class 3KB
共 70 条
- 1
资源评论
- Redit2015-01-23还不错,值得一下
- l8980351412016-11-02希望有帮助啊
- gupai15482014-07-25谢谢非常感谢
- denggw2016-04-24还不错,感谢
- JDSolution2015-12-15感谢,但是后来还是没用起来,慢慢消化
berber78
- 粉丝: 360
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功