Context.BindServiceFlags
public
static
final
class
Context.BindServiceFlags
extends Object
| java.lang.Object | |
| ↳ | 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
|
of(long value)
Build |
Inherited methods | |
|---|---|
Public methods
of
public static Context.BindServiceFlags of (long value)
Build BindServiceFlags from BIND_* FLAGS.
Note, Context.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
Context.BIND_EXTERNAL_SERVICE_LONG instead.
| Returns | |
|---|---|
Context.BindServiceFlags |
This value cannot be null. |