Added in API level 34
BindServiceFlags
class BindServiceFlags
kotlin.Any | |
↳ | android.content.Context.BindServiceFlags |
Specific flags used for bindService() call, which encapsulates a 64 bits long integer. Call BindServiceFlags.of(long)
to obtain an object of BindServiceFlags
.
Summary
Public methods | |
---|---|
static Context.BindServiceFlags |
Build |
Public methods
of
Added in API level 34
static fun of(value: Long): Context.BindServiceFlags
Build BindServiceFlags
from BIND_* FLAGS. Note, BIND_EXTERNAL_SERVICE
is not supported in this method, because it has the highest integer bit set and cause wrong flags to be set. Use BIND_EXTERNAL_SERVICE_LONG
instead.
Return | |
---|---|
Context.BindServiceFlags |
This value cannot be null . |