![]() | InDesign SDK 20.5 |
#include <IMediaContent.h>

Public Types | |
| enum | { kDefaultIID = IID_IMEDIACONTENT } |
| enum | MediaType { enUndefined, enVideo, enAudio, enLegacyVideo = 4, enLegacyAudio } |
Public Member Functions | |
| virtual IPMStream * | CreateContentStreamRead (bool16 rawContentRequired=kFalse)=0 |
| virtual PMString | GetMimeType ()=0 |
| virtual const MediaLocation | GetLocation () const =0 |
| virtual const PMString | GetMediaFileName () const =0 |
| virtual const PMString | GetMediaFilePath () const =0 |
| virtual const PMString | GetPosterPath () const =0 |
| virtual IMediaAttributes::PosterType | GetPosterType () const =0 |
| virtual const UID | GetPosterUID () const =0 |
| virtual bool16 | HasContent () const =0 |
| virtual bool16 | IsPosterAvailable () const =0 |
| virtual IMediaContent::MediaType | GetMediaType () const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Provides access to media content.
| pure virtual |
Provides an IPMStream to read the media content.
| rawContentRequired | set to kTrue to assure that the stream provides raw, unfiltered content. For file-based content, this is equivalent to reading directly from the file. |
| pure virtual |
| pure virtual |
Retrieves the media base file name (without the path).
| pure virtual |
Retrieves the full media file path.
| pure virtual |
Retrieves the MediaType.
| pure virtual |
Retrieves the standard MIME type for the media content.
| pure virtual |
Retrieves the full path for a poster image.
| pure virtual |
Retrieves the IMediaAttributes::PosterType for the media page item.
| pure virtual |
Retrieves the UID of the media poster page item.
| pure virtual |
Tests if content has been set. Useful to test when deciding if the media page item can be exported or is simply acting as a placeholder.
| pure virtual |
Tests if a poster is available by determining if (1) the content has a poster, and (2) the content can be accessed to obtain the poster.