MethodDelegate<Void, AssetReceivedCallbackArgs> assetReceivedCallback
= new MethodDelegate<Void, AssetReceivedCallbackArgs>()
{
public Void execute(AssetReceivedCallbackArgs e) {
AssetDownload transfer = e.getTransfer();
Asset asset = e.getAsset();
if (transfer.Success && asset instanceof AssetWearable)
{
// Update this wearable with the freshly downloaded asset
wearable.Asset = (AssetWearable)asset;