public class Passwear
extends Activity
| Constructor and Description |
|---|
Passwear() |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(AuthType authType,
PasswearCallback cb)
Authenticate using the currently provisioned wearable and the specified authentication type.
|
void |
authenticate(PasswearCallback cb)
Authenticate using the currently provisioned wearable.
|
void |
init(Context context,
java.lang.String applicationName,
PasswearConfig config,
PasswearCallback cb)
Initialise PassWear with configuration options.
|
void |
provision(PasswearCallback cb)
Provision PassWear on the wearable device.
|
void |
provision(java.lang.String data,
PasswearCallback cb)
Provision PassWear on the wearable device and include data to be stored on the
wearable.
|
public void init(Context context,
java.lang.String applicationName,
PasswearConfig config,
PasswearCallback cb)
context - Current Android application contextapplicationName - The name of your applicationconfig - Passwear config objectcb - Passwear callbackpublic void provision(PasswearCallback cb)
cb - Passwear callbackpublic void provision(java.lang.String data,
PasswearCallback cb)
data - Data to be stored on the wearablecb - Passwear callbackpublic void authenticate(PasswearCallback cb)
cb - Passwear callbackpublic void authenticate(AuthType authType,
PasswearCallback cb)
authType - The authentication type to usecb - Passwear callbackAuthType