maxon.AssetBaseInterface

Description

It inherits from maxon.AssetIdentifierInterface and adds methods to obtain the repository.

Methods Signature

GetRepository()

Returns the repository where this asset is stored.

GetRepositoryId()

Returns the identifier of the repository where this asset is stored.

Methods Definition

AssetBaseInterface.GetRepository()

Returns the repository where this asset is stored.

Note

The implementation should use a weak reference to avoid circular references.

Returns

Asset repository (empty when the asset doesn’t belong to a repository).

Return type

maxon.AssetRepositoryRef

AssetBaseInterface.GetRepositoryId()

Returns the identifier of the repository where this asset is stored.

Returns

Asset repository identifier (empty when the asset doesn’t belong to a repository).

Return type

maxon.Id