i cannot understand bindserviceasuser()
method used for. can please kindly explain ? googling seems doesn't much.
public boolean bindservice(intent intent, serviceconnection connection, int flags) { return mcontext.bindserviceasuser(intent, connection, flags, userhandle.owner); }
i've never felt need use bindserviceasuser()
, here's android documentation has it:
same bindservice(android.content.intent,android.content.serviceconnection,int), explicit userhandle argument use system server , other multi-user aware code.
the multi-user support added in android 4.2 (api: 17), read here. in understanding it'll used device manufacturers, releasing special devices enterprise world example. best doc multi-users i've found this one, along referenced links there.
Comments
Post a Comment