Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
InAppPurchases::Download Struct Referenceabstract

iOS only: represents in-app purchase download. More...

#include <juce_InAppPurchases.h>

Public Types

enum class  Status {
  waiting = 0 , active , paused , finished ,
  failed , cancelled
}
 

Public Member Functions

virtual ~Download ()
 
virtual String getProductId () const =0
 A unique identifier for the in-app product to be downloaded.
 
virtual int64 getContentLength () const =0
 Content length in bytes.
 
virtual String getContentVersion () const =0
 Content version.
 
virtual Status getStatus () const =0
 Returns current status of the download.
 

Detailed Description

iOS only: represents in-app purchase download.

Download will be available only for purchases that are hosted on the AppStore.

Member Enumeration Documentation

◆ Status

Enumerator
waiting 

The download is waiting to start.

Called at the beginning of a download operation.

active 

The download is in progress.

paused 

The download was paused and is awaiting resuming or cancelling.

finished 

The download was finished successfully.

failed 

The download failed (e.g.

because of no internet connection).

cancelled 

The download was cancelled.

Constructor & Destructor Documentation

◆ ~Download()

virtual InAppPurchases::Download::~Download ( )
virtual

Member Function Documentation

◆ getProductId()

virtual String InAppPurchases::Download::getProductId ( ) const
pure virtual

A unique identifier for the in-app product to be downloaded.

◆ getContentLength()

virtual int64 InAppPurchases::Download::getContentLength ( ) const
pure virtual

Content length in bytes.

◆ getContentVersion()

virtual String InAppPurchases::Download::getContentVersion ( ) const
pure virtual

Content version.

◆ getStatus()

virtual Status InAppPurchases::Download::getStatus ( ) const
pure virtual

Returns current status of the download.


The documentation for this struct was generated from the following file:
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram