InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IAMServiceProvider::AssetHints Class Reference

#include <IAMServiceProvider.h>

Public Member Functions

 AssetHints (SysOSType sysOSType, PMString &fileExtension)
 
 AssetHints (const AssetHints &hints)
 
AssetHintsoperator= (const AssetHints &copy)
 

Public Attributes

SysOSType kFileType
 
PMString kFileExtension
 

Detailed Description

The IAMServiceProvider::AssetHints class has cached information about a file-based asset. The following information is available:

kFileType is the SysOSType;

kFileExtension is a PMString containing the file extension.

AssetHints are usually accessed through a pointer (see the IAMServiceProvider::CanService method). Example:

PMString theExtension = hints->kFileExtension;