code: public Observable<ComapiResult<Map<String, Object>>> getProfile(@NonNull final String profileId) {
  
          final String token = getToken();
  
          if (sessionController.isCreatingSession()) {
              return getTaskQueue().queueGetProfile(profileId);
          } else if (TextUtils.isEmpty(token)) {
              return Observable.error(getSessionStateErrorDescription());
          } else {
              return doGetProfile(token, profileId);
          }
      }
docs: Get profile details from the service.
  
  @param profileId Profile Id of the user.
  @return Profile details from the service.