Click or drag to resize

StreamAssetProvider Class

Asset provider base class for implementing asset providers based on streams. Used to implement FileAssetProvider and Android ApkAssetProviders.
Inheritance Hierarchy

Namespace:  Fusee.Base.Common
Assembly:  Fusee.Base.Common (in Fusee.Base.Common.dll) Version: (
public abstract class StreamAssetProvider : IAssetProvider

The StreamAssetProvider type exposes the following members.

Protected methodStreamAssetProvider
Initializes a new instance of the StreamAssetProvider class.
Public methodBeginGetAsset
Asynchronous get method.
Public methodCanGet
Determines whether this asset provider can get the specified asset without actually getting it.
Public methodCanHandleType
Determines whether this instance can handle assets of the specified type (in general).
Protected methodCheckExists
Checks the existance of the identified asset. Implement this on a given platform.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAsset
Retrieves the asset identified by the given string.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetStream
Implement this on a given platform to create a stream for the asset identified by id.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRegisterTypeHandler
Registers the given asset type handler.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also