コード例 #1
0
 @Override
 public void attachUser(
     String userVerifierToken,
     String userExternalId,
     String userAccessToken,
     UserAttachCallback callback) {
   checkClientState(State.STARTED, "Kaa client isn't started");
   endpointRegistrationManager.attachUser(
       userVerifierToken, userExternalId, userAccessToken, callback);
 }
コード例 #2
0
 @Override
 public void setDetachedListener(DetachEndpointFromUserCallback listener) {
   endpointRegistrationManager.setDetachedCallback(listener);
 }
コード例 #3
0
 @Override
 public void setAttachedListener(AttachEndpointToUserCallback listener) {
   endpointRegistrationManager.setAttachedCallback(listener);
 }
コード例 #4
0
 @Override
 public void detachEndpoint(
     EndpointKeyHash endpointKeyHash, OnDetachEndpointOperationCallback resultListener) {
   checkClientState(State.STARTED, "Kaa client isn't started");
   endpointRegistrationManager.detachEndpoint(endpointKeyHash, resultListener);
 }
コード例 #5
0
 @Override
 public void attachEndpoint(
     EndpointAccessToken endpointAccessToken, OnAttachEndpointOperationCallback resultListener) {
   checkClientState(State.STARTED, "Kaa client isn't started");
   endpointRegistrationManager.attachEndpoint(endpointAccessToken, resultListener);
 }
コード例 #6
0
 @Override
 public String refreshEndpointAccessToken() {
   return endpointRegistrationManager.refreshEndpointAccessToken();
 }
コード例 #7
0
 @Override
 public void setEndpointAccessToken(String token) {
   endpointRegistrationManager.updateEndpointAccessToken(token);
 }