public class MissionPackageConnectorHandler extends ContactConnectorManager.ContactConnectorHandler
| Constructor and Description |
|---|
MissionPackageConnectorHandler(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Provide human readable description of the handler
|
java.lang.Object |
getFeature(java.lang.String connectorType,
ContactConnectorManager.ConnectorFeature feature,
java.lang.String contactUID,
java.lang.String connectorAddress)
Get data for the specified feature
|
java.lang.String |
getName()
Provide the human-readable handler name/title
|
boolean |
handleContact(java.lang.String connectorType,
java.lang.String contactUID,
java.lang.String address)
Happens on UI thread, so please be quick
At least one of these two identifiers is required
|
boolean |
hasFeature(ContactConnectorManager.ConnectorFeature feature)
Check if this handler supports the feature
|
boolean |
isSupported(java.lang.String type)
Check if this handler supports the connector type
|
isSupportedpublic MissionPackageConnectorHandler(android.content.Context context)
public boolean isSupported(java.lang.String type)
ContactConnectorManager.ContactConnectorHandlerisSupported in class ContactConnectorManager.ContactConnectorHandlertype - the connector typepublic boolean hasFeature(ContactConnectorManager.ConnectorFeature feature)
ContactConnectorManager.ContactConnectorHandlerhasFeature in class ContactConnectorManager.ContactConnectorHandlerfeature - the connector featurepublic java.lang.String getName()
ContactConnectorManager.ContactConnectorHandlergetName in class ContactConnectorManager.ContactConnectorHandlerpublic java.lang.String getDescription()
ContactConnectorManager.ContactConnectorHandlergetDescription in class ContactConnectorManager.ContactConnectorHandlerpublic java.lang.Object getFeature(java.lang.String connectorType,
ContactConnectorManager.ConnectorFeature feature,
java.lang.String contactUID,
java.lang.String connectorAddress)
ContactConnectorManager.ContactConnectorHandlergetFeature in class ContactConnectorManager.ContactConnectorHandlerpublic boolean handleContact(java.lang.String connectorType,
java.lang.String contactUID,
java.lang.String address)
ContactConnectorManager.ContactConnectorHandlerhandleContact in class ContactConnectorManager.ContactConnectorHandlerconnectorType - the type of connectorcontactUID - the contact identifieraddress - the address