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

AssetManager

.
.
::
.
.
AssetReceivedCallback 
callback
)
Parameters
assetID ( UUID)
Asset 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
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)