Tags are not available for DMC customers yet (coming soon) |
Package : com.appoxee.asyncs.tags
Implement in class : DeviceTagsCallback interface
Usage :
How to Set Device Tags:
TagsInvocationClass.setDeviceTagsAsync(this,tagsToSet); //tagsToSet - type of ArrayList<String>
Callback :
@Override
public void SetDeviceTagsCallback(boolean result) {
// TODO Autogenerated method stub
}
How to Remove Device Tags:
TagsInvocationClass.removeDeviceTagsAsync(this,tagsToRemove); //tagsToRemove - type of ArrayList<String>
Callback :
@Override
public void RemoveDeviceTagsCallback(boolean result) { // TODO Autogenerated method stub
}
How to Get Device Tags:
TagsInvocationClass.getDeviceTagsAsync(this);
Callback :
@Override
public void GetDeviceTagsCallback(ArrayList<String> listOfDeviceTags) {
// TODO Autogenerated method stub
}
Get Application Tags:
TagsInvocationClass.getApplicationTagsAsync(this);
Callback :
@Override
public void GetAppTagsCallback(ArrayList<String> listOfAppTags) {
// TODO Autogenerated method stub
}
How to Clear Device Tags Cache:
TagsInvocationClass.cleanDeviceTagsCacheAsync(this);
Callback :
@Override
public void ClearTagsCacheCallback(boolean result) {
// TODO Autogenerated method stub
}