bindUserService method

Future<int> bindUserService(
  1. PrivUserServiceSpec spec
)

Binds an app-defined UserService and returns a connection handle.

The underlying Binder cannot cross the platform channel, so Dart cannot call the service's own AIDL methods. The handle exists so Dart can manage the connection lifetime through unbindUserService.

Implementation

Future<int> bindUserService(PrivUserServiceSpec spec) {
  throw UnimplementedError('bindUserService() has not been implemented.');
}