OpenMetaverse Protocol Library Developers API Documentation
RequestAsset Method (assetID, itemID, taskID, type, priority, sourceType, transactionID, callback)
NamespacesOpenMetaverseAssetManagerRequestAsset(UUID, UUID, UUID, AssetType, Boolean, SourceType, UUID, AssetManager . . :: . . AssetReceivedCallback)
Request an asset download
Declaration Syntax
C#
public 
void 
RequestAsset(
        
UUID 
assetID,
        
UUID 
itemID,
        
UUID 
taskID,
        
AssetType 
type,
        
bool 
priority,
        
SourceType 
sourceType,
        
UUID 
transactionID,
        

AssetManager

.
.
::
.
.
AssetReceivedCallback 
callback
)
Parameters
assetID ( UUID)
Asset UUID
itemID ( UUID)
taskID ( UUID)
type ( AssetType)
Asset type, must be correct for the transfer to succeed
priority ( Boolean)
Whether to give this transfer an elevated priority
sourceType ( SourceType)
Source location of the requested asset
transactionID ( UUID)
UUID of the transaction
callback ( AssetManager . . :: . . AssetReceivedCallback)
The callback to fire when the simulator responds with the asset data

Assembly: OpenMetaverse(Module: OpenMetaverse.dll) Version: 0.9.3.3318 (0.9.3.3318)