RequestItem Class

Module: cc.AssetManager

A collection of information about a request

Index

Properties
  • uuid String The uuid of request
  • url String The final url of request
  • ext String The extension name of asset
  • content * The content of asset
  • file * The file of asset
  • info Object The information of asset
  • isNative Boolean Whether or not it is native asset
  • options Object Custom options
  • id String The id of request, combined from uuid and isNative
Methods

Details

Properties

uuid

The uuid of request

meta description
Type String
Defined in cocos2d/core/asset-manager/request-item.js:49
url

The final url of request

meta description
Type String
Defined in cocos2d/core/asset-manager/request-item.js:61
ext

The extension name of asset

meta description
Type String
Defined in cocos2d/core/asset-manager/request-item.js:73
content

The content of asset

meta description
Type
Defined in cocos2d/core/asset-manager/request-item.js:85
file

The file of asset

meta description
Type
Defined in cocos2d/core/asset-manager/request-item.js:97
info

The information of asset

meta description
Type Object
Defined in cocos2d/core/asset-manager/request-item.js:109
isNative

Whether or not it is native asset

meta description
Type Boolean
Defined in cocos2d/core/asset-manager/request-item.js:123
options

Custom options

meta description
Type Object
Defined in cocos2d/core/asset-manager/request-item.js:135
id

The id of request, combined from uuid and isNative

meta description
Type String
Defined in cocos2d/core/asset-manager/request-item.js:164

Methods

constructor

Create a request item

meta description
Defined in cocos2d/core/asset-manager/request-item.js:150
recycle

Recycle this for reuse

meta description
Defined in cocos2d/core/asset-manager/request-item.js:181
create

Create a new request item from pool

meta description
Returns RequestItem
Defined in cocos2d/core/asset-manager/request-item.js:209

results matching ""

    No results matching ""