com.qualcommlabs.usercontext
Interface ContextInterestsConnector
- All Superinterfaces:
- com.qualcommlabs.usercontext.ConnectorPermissionChangeNotifier, ContextInterestChangeNotifier
public interface ContextInterestsConnector
- extends com.qualcommlabs.usercontext.ConnectorPermissionChangeNotifier, ContextInterestChangeNotifier
The Interface ContextInterestsConnector provides methods for requesting the
profile information of the user.
Method Summary |
com.qualcommlabs.usercontext.protocol.profile.CustomAttributes |
getCustomAttributes()
|
boolean |
isPermissionEnabled()
Invoke this method to see if a user has enabled or disabled the privacy
setting associated with this connector. |
void |
requestProfile(com.qualcommlabs.usercontext.Callback<com.qualcommlabs.usercontext.protocol.profile.Profile> serviceCallback)
Returns profile information of the user, only if your application has
profile permissions. |
void |
setCustomAttributes(com.qualcommlabs.usercontext.protocol.profile.CustomAttributes customAttributes)
|
Methods inherited from interface com.qualcommlabs.usercontext.ConnectorPermissionChangeNotifier |
addConnectorPermissionChangeListener, removeConnectorPermissionChangeListener |
isPermissionEnabled
boolean isPermissionEnabled()
- Invoke this method to see if a user has enabled or disabled the privacy
setting associated with this connector.
requestProfile
void requestProfile(com.qualcommlabs.usercontext.Callback<com.qualcommlabs.usercontext.protocol.profile.Profile> serviceCallback)
- Returns profile information of the user, only if your application has
profile permissions.
- Parameters:
serviceCallback
- the service callback
setCustomAttributes
void setCustomAttributes(com.qualcommlabs.usercontext.protocol.profile.CustomAttributes customAttributes)
throws com.qualcommlabs.usercontext.protocol.GimbalException
- Parameters:
customAttributes
-
- Throws:
com.qualcommlabs.usercontext.protocol.AppNotEnabledException
com.qualcommlabs.usercontext.protocol.NoPermissionException
com.qualcommlabs.usercontext.protocol.GimbalException
getCustomAttributes
com.qualcommlabs.usercontext.protocol.profile.CustomAttributes getCustomAttributes()
throws com.qualcommlabs.usercontext.protocol.GimbalException
- Returns:
-
- Throws:
com.qualcommlabs.usercontext.protocol.AppNotEnabledException
com.qualcommlabs.usercontext.protocol.NoPermissionException
com.qualcommlabs.usercontext.protocol.GimbalException
Copyright © 2014 Qualcomm Retail Solutions, Inc.. All Rights Reserved.