go top

ibinder

网络释义

  对象

先用startservice保证服务在系统里长期运行; 2.再用onbind方法,获得中间人对象Ibinder),即可调用服务里的方法 3.用unbind可以解绑 4.

基于4个网页-相关网页

短语

IBinder receiver 当前正在处理的接收者

双语例句

  • IBinder methods must, therefore, be implemented to be thread-safe.

    因此ibinder方法必须实现线程安全的。

    youdao

  • Because a service can have more than one client, more than one pool thread can engage the same IBinder method at the same time.

    因为服务可以不止客户端,所以同时可以有多个线程同一个IBinder方法相关联。

    youdao

  • When a call on a method implemented in an IBinder originates in the same process in which the IBinder is running, the method is executed in the caller's thread.

    如果IBinder实现方法调用发起于IBinder所在进程的内部,那么这个方法执行调用线程中的

    youdao

更多双语例句

百科

ibinder

类目录:android.os.IBinder 直接子类是Binder 这个接口是能进行远程操作对象的一个基接口。定义了为在提供进程间和跨进程间的调用时提供高性能的轻量级远程调用的核心部分。该接口描述了与远程对象进行交互的抽象协议。 它的核心API是transact(),在它的直接子类中是Binder.onTransact()。这些方法允许你分别发送一个呼叫到一个IBinder对象和接收呼叫到一个Binder对象。 IBinder是什么呢?首先要明白,Android的远程调用(就是跨进程调用)就是通过IBinder实现的,下面是对android开发文档的翻译。

详细内容

以上来源于: 百度百科
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定