public class PrivateDataManager extends Object
Modifier and Type | Field | Description |
---|---|---|
static int |
RESULT_REQUEST_DENIED |
|
static int |
RESULT_SUCCESS |
|
static int |
RESULT_UNABLE_TO_ACQUIRE_DATA |
Modifier and Type | Method | Description |
---|---|---|
List<String> |
getInstalledPALProviders(DataRequest.DataType type) |
Get a list of all installed PAL providers for a given type
|
static PrivateDataManager |
getInstance() |
Get new instance of PrivateDataManager
|
void |
requestData(DataRequest request) |
Request sensitive data obtained asynchronously.
|
public static final int RESULT_SUCCESS
public static final int RESULT_UNABLE_TO_ACQUIRE_DATA
public static final int RESULT_REQUEST_DENIED
public static PrivateDataManager getInstance()
public void requestData(DataRequest request)
request
- An object specifying the data type, target PAL, parameters, and callback.public List<String> getInstalledPALProviders(DataRequest.DataType type)
type
- The type that the data provider should secure. "ANY" will return providers that accept all types. null will return all providers.