public class IPCBinder
extends java.lang.Object
implements android.content.ServiceConnection
| 构造器和说明 |
|---|
IPCBinder() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
connect(android.content.Context context) |
java.lang.String |
getTag() |
boolean |
isConnected() |
void |
onServiceConnected(android.content.ComponentName name,
android.os.IBinder service) |
void |
onServiceDisconnected(android.content.ComponentName name) |
boolean |
sendMessage(android.os.Message msg) |
void |
setTag(java.lang.String tag) |
void |
stop() |
public void setTag(java.lang.String tag)
public java.lang.String getTag()
public void connect(android.content.Context context)
public void stop()
public boolean isConnected()
public boolean sendMessage(android.os.Message msg)
public void onServiceConnected(android.content.ComponentName name,
android.os.IBinder service)
onServiceConnected 在接口中 android.content.ServiceConnectionpublic void onServiceDisconnected(android.content.ComponentName name)
onServiceDisconnected 在接口中 android.content.ServiceConnection