sk.baka.ambient.playerservice
Class IPlayer.Stub

java.lang.Object
  extended by android.os.Binder
      extended by sk.baka.ambient.playerservice.IPlayer.Stub
All Implemented Interfaces:
IBinder, IInterface, IPlayer
Enclosing interface:
IPlayer

public abstract static class IPlayer.Stub
extends Binder
implements IPlayer

Local-side IPC implementation stub class.


Nested Class Summary
 
Nested classes/interfaces inherited from interface sk.baka.ambient.playerservice.IPlayer
IPlayer.Stub
 
Nested classes/interfaces inherited from interface android.os.IBinder
IBinder.DeathRecipient
 
Field Summary
(package private) static int TRANSACTION_getPlaybackState
           
(package private) static int TRANSACTION_getPosition
           
(package private) static int TRANSACTION_pause
           
(package private) static int TRANSACTION_play
           
(package private) static int TRANSACTION_seek
           
(package private) static int TRANSACTION_stop
           
 
Fields inherited from interface android.os.IBinder
DUMP_TRANSACTION, FIRST_CALL_TRANSACTION, FLAG_ONEWAY, INTERFACE_TRANSACTION, LAST_CALL_TRANSACTION, PING_TRANSACTION
 
Constructor Summary
IPlayer.Stub()
          Construct the stub at attach it to the interface.
 
Method Summary
 IBinder asBinder()
           
static IPlayer asInterface(IBinder obj)
          Cast an IBinder object into an IPlayer interface, generating a proxy if needed.
 boolean onTransact(int code, Parcel data, Parcel reply, int flags)
           
 
Methods inherited from class android.os.Binder
attachInterface, clearCallingIdentity, dump, finalize, flushPendingCommands, getCallingPid, getCallingUid, getInterfaceDescriptor, isBinderAlive, joinThreadPool, linkToDeath, pingBinder, queryLocalInterface, restoreCallingIdentity, transact, unlinkToDeath
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface sk.baka.ambient.playerservice.IPlayer
getPlaybackState, getPosition, pause, play, seek, stop
 

Field Detail

TRANSACTION_pause

static final int TRANSACTION_pause
See Also:
Constant Field Values

TRANSACTION_play

static final int TRANSACTION_play
See Also:
Constant Field Values

TRANSACTION_stop

static final int TRANSACTION_stop
See Also:
Constant Field Values

TRANSACTION_seek

static final int TRANSACTION_seek
See Also:
Constant Field Values

TRANSACTION_getPlaybackState

static final int TRANSACTION_getPlaybackState
See Also:
Constant Field Values

TRANSACTION_getPosition

static final int TRANSACTION_getPosition
See Also:
Constant Field Values
Constructor Detail

IPlayer.Stub

public IPlayer.Stub()
Construct the stub at attach it to the interface.

Method Detail

asInterface

public static IPlayer asInterface(IBinder obj)
Cast an IBinder object into an IPlayer interface, generating a proxy if needed.


asBinder

public IBinder asBinder()
Specified by:
asBinder in interface IInterface

onTransact

public boolean onTransact(int code,
                          Parcel data,
                          Parcel reply,
                          int flags)
                   throws RemoteException
Overrides:
onTransact in class Binder
Throws:
RemoteException


Copyright © 2007-2008. All Rights Reserved.