public class GeoChatConnectorHandler extends ContactConnectorManager.ContactConnectorHandler
Constructor and Description |
---|
GeoChatConnectorHandler(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
|
isSupported
public GeoChatConnectorHandler(android.content.Context context)
public boolean isSupported(java.lang.String type)
ContactConnectorManager.ContactConnectorHandler
isSupported
in class ContactConnectorManager.ContactConnectorHandler
type
- the connector typepublic boolean hasFeature(ContactConnectorManager.ConnectorFeature feature)
ContactConnectorManager.ContactConnectorHandler
hasFeature
in class ContactConnectorManager.ContactConnectorHandler
feature
- the connector featurepublic java.lang.String getName()
ContactConnectorManager.ContactConnectorHandler
getName
in class ContactConnectorManager.ContactConnectorHandler
public java.lang.String getDescription()
ContactConnectorManager.ContactConnectorHandler
getDescription
in class ContactConnectorManager.ContactConnectorHandler
public java.lang.Object getFeature(java.lang.String connectorType, ContactConnectorManager.ConnectorFeature feature, java.lang.String contactUID, java.lang.String connectorAddress)
ContactConnectorManager.ContactConnectorHandler
getFeature
in class ContactConnectorManager.ContactConnectorHandler
public boolean handleContact(java.lang.String connectorType, java.lang.String contactUID, java.lang.String address)
ContactConnectorManager.ContactConnectorHandler
handleContact
in class ContactConnectorManager.ContactConnectorHandler
connectorType
- the type of connectorcontactUID
- the contact identifieraddress
- the address