Tags Async API

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 Auto­generated method stub

}


How to Remove Device Tags:

TagsInvocationClass.removeDeviceTagsAsync(this,tagsToRemove); //tagsToRemove - type of ArrayList<String>


Callback :
@Override

public void RemoveDeviceTagsCallback(boolean result) { // TODO Auto­generated method stub

}


How to Get Device Tags:

TagsInvocationClass.getDeviceTagsAsync(this);


Callback :
@Override

public void GetDeviceTagsCallback(ArrayList<String> listOfDeviceTags) {

// TODO Auto­generated method stub

}


Get Application Tags:

TagsInvocationClass.getApplicationTagsAsync(this);


Callback :
@Override

public void GetAppTagsCallback(ArrayList<String> listOfAppTags) {

// TODO Auto­generated method stub

}


How to Clear Device Tags Cache:

TagsInvocationClass.cleanDeviceTagsCacheAsync(this);


Callback :
@Override

public void ClearTagsCacheCallback(boolean result) {

// TODO Auto­generated method stub

}