onbind中几个flag参数的意义

我们注意到,在我们使用onbind函数启动service的时候,第二个参数fla有几个不同的值,那么它们代表了什么意义呢?通过查询官网我们可以得知:

BIND_AUTO_CREATE:

BIND_DEBUG_UNBIND,

BIND_NOT_FOREGROUND,

BIND_ABOVE_CLIENT,

BIND_ALLOW_OOM_MANAGEMENT,

BIND_WAIVE_PRIORITY.

u3coding
A software developer

Leave a Comment

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.