|
Maps SDK for C++ 1.0.0
|
ContentStoreItem object. More...


Public Member Functions | |
| ContentStoreItem (const ContentStoreItem &v) | |
| Default copy constructor. | |
| ContentStoreItem (ContentStoreItem &&v)=default | |
| Default move constructor noexcept is deduced. | |
| ContentStoreItem & | operator= (const ContentStoreItem &v) |
| Default copy assignment. | |
| ContentStoreItem & | operator= (ContentStoreItem &&v)=default |
| Default move assignment noexcept is deduced. | |
| bool | operator== (const ContentStoreItem &obj) const |
| Comparison operator equal. | |
| bool | operator!= (const ContentStoreItem &obj) const |
| Comparison operator not equal. | |
| const StringRef | getName () const noexcept |
| Get the name of the associated product. | |
| LargeInteger | getId () const noexcept |
| Get the unique id of the item in the content store. | |
| const StringRef | getChapterName () const noexcept |
| Get the product chapter name translated to interface language. | |
| const StringListRef | getCountryCodes () const noexcept |
| Get the country code (ISO 3166-1 alpha-3) list of the product as text. | |
| const LanguageRef | getLanguage () const noexcept |
| Get the full language code for the product. | |
| EContentType | getType () const noexcept |
| Get the type of the product as a EContentType value. | |
| const StringRef | getFileName () const noexcept |
| Get the full path to the content data file when available. | |
| Version | getClientVersion () const noexcept |
| Get the client version of the content. | |
| LargeInteger | getTotalSize () const noexcept |
| Get the size of the content in bytes. | |
| LargeInteger | getAvailableSize () const noexcept |
| Get the available size of the content in bytes. | |
| bool | isCompleted () const noexcept |
| Check if the item is completed downloaded. | |
| int | asyncDownload (ProgressListener listener, EDataSavePolicy savePolicy=EDataSavePolicy::UseDefault, bool allowChargedNetworks=false, EContentDownloadThreadPriority priority=CDP_Default) noexcept |
| Asynchronous start/resume the download of the content store product content. | |
| EContentStoreItemStatus | getStatus () const noexcept |
| Gets current item status. | |
| int | pauseDownload () noexcept |
| Pause a previous download operation. | |
| int | cancelDownload () noexcept |
| Cancel a previous download operation. | |
| void | setProgressListener (ProgressListener listener) noexcept |
| Sets the item progress listener. | |
| ProgressListener | getProgressListener () const noexcept |
| Gets the item progress listener. | |
| int | getDownloadProgress () const noexcept |
| Get current download progress. | |
| bool | canDeleteContent () const noexcept |
| Check if associated content can be deleted. | |
| int | deleteContent () noexcept |
| Delete the associated content. | |
| bool | isImagePreviewAvailable () const noexcept |
| Check if there is an image preview available on the client. | |
| Image | getImagePreview () const noexcept |
| Get the image preview if available. | |
| const SearchableParameterListRef | getContentParameters () const noexcept |
| Get additional parameters for the content. | |
| const ContentStoreItemRef | getUpdateItem () const noexcept |
| Get corresponding update item. | |
| bool | isUpdatable () const noexcept |
| Check if item is updatable, i.e. | |
| LargeInteger | getUpdateSize () const noexcept |
| Get update size ( if an update is available for this item ). | |
| Version | getUpdateVersion () const noexcept |
| Gets update version ( if an update is available for this item ). | |
| operator bool () const | |
| Boolean operator, true if class wraps a valid content store item. | |
ContentStoreItem object.
Implements share-read / share-write Api object over IContentStoreItem.
|
inline |
Default copy constructor.
| v | The object to copy |
|
default |
Default move constructor noexcept is deduced.
| v | The object to move |
|
inlinenoexcept |
Asynchronous start/resume the download of the content store product content.
| [in] | listener | Object that implements notification events associated with this operation. Cannot be empty. |
| [in] | savePolicy | Specify where updated data will be stored. Default is UseDefault meaning the savePolicy from SDK::initialize will be used |
| [in] | allowChargedNetworks | Flag whether to allow charged networks. If true, it will override SdkSettings::setAllowOffboardServiceOnExtraChargedNetwork( EServiceGroupType::ContentService, false ) |
| [in] | priority | Download thread priority, default OS value |
If KNoConnection is returned, get more details about online restrictions with SdkSettings::getOnlineServiceRestriction
|
inlinenoexcept |
Cancel a previous download operation.
The partially downloaded content is deleted.
Operation is executed immediately, i.e. no notifications are thrown
|
inlinenoexcept |
Check if associated content can be deleted.
|
inlinenoexcept |
Delete the associated content.
Operation is executed immediately, i.e. no notifications are thrown
|
inlinenoexcept |
Get the available size of the content in bytes.
|
inlinenoexcept |
Get the product chapter name translated to interface language.
Items with same chapter name are considered to be part of the same group
|
inlinenoexcept |
Get the client version of the content.
Requires the content available size greater than zero.
|
inlinenoexcept |
Get additional parameters for the content.
This is not available for all content types.
|
inlinenoexcept |
Get the country code (ISO 3166-1 alpha-3) list of the product as text.
|
inlinenoexcept |
Get current download progress.
|
inlinenoexcept |
Get the full path to the content data file when available.
|
inlinenoexcept |
Get the unique id of the item in the content store.
|
inlinenoexcept |
Get the image preview if available.
Available only if isImagePreviewAvailable() returns true.
|
inlinenoexcept |
Get the full language code for the product.
|
inlinenoexcept |
Get the name of the associated product.
|
inlinenoexcept |
Gets the item progress listener.
|
inlinenoexcept |
Gets current item status.
|
inlinenoexcept |
Get the size of the content in bytes.
|
inlinenoexcept |
Get the type of the product as a EContentType value.
|
inlinenoexcept |
Get corresponding update item.
function will return a valid item only if an update is in progress for that item
|
inlinenoexcept |
Get update size ( if an update is available for this item ).
function will return a valid size ( != 0 ) only if item has a newer version in store
this function doesn't request an update to be started for the item
|
inlinenoexcept |
Gets update version ( if an update is available for this item ).
function will return a valid version ( != 0 ) only if item has a newer version in store
this function doesn't request an update to be started for the item
|
inlinenoexcept |
Check if the item is completed downloaded.
|
inlinenoexcept |
Check if there is an image preview available on the client.
|
inlinenoexcept |
Check if item is updatable, i.e.
it has a newer version available
|
inline |
Comparison operator not equal.
| obj | The object to compare with |
|
inline |
Default copy assignment.
| v | The object to copy |
|
default |
Default move assignment noexcept is deduced.
| v | The object to move |
|
inline |
Comparison operator equal.
| obj | The object to compare with |
|
inlinenoexcept |
Pause a previous download operation.
User will receive a onNotifyComplete( error::KSuspended )
|
inlinenoexcept |
Sets the item progress listener.
Previous registered progress listener will not receive notifications anymore
| listener | The listener object that implements the notification events associated with this operation |