OpenMetaverse Protocol Library Developers API Documentation
RequestCreateItemFromAsset Method (data, name, description, assetType, invType, folderID, callback)
NamespacesOpenMetaverse InventoryManagerRequestCreateItemFromAsset( array< Byte > [] () [] [] , String, String, AssetType, InventoryType, UUID, InventoryManager . . :: . . ItemCreatedFromAssetCallback)
Create an inventory item and upload asset data
Declaration Syntax
C#
public 
void 
RequestCreateItemFromAsset(
        
byte[] 
data,
        
string 
name,
        
string 
description,
        
AssetType 
assetType,
        
InventoryType 
invType,
        
UUID 
folderID,
        

InventoryManager

.
.
::
.
.
ItemCreatedFromAssetCallback 
callback
)
Parameters
data ( array< Byte > [] () [] [] )
Asset data
name ( String)
Inventory item name
description ( String)
Inventory item description
assetType ( AssetType)
Asset type
invType ( InventoryType)
Inventory type
folderID ( UUID)
Put newly created inventory in this folder
callback ( InventoryManager . . :: . . ItemCreatedFromAssetCallback)
Delegate that will receive feedback on success or failure

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