public class EOS_Ecom_Interface
extends com.sun.jna.PointerType
EOS_Platform_Interface.getEcomInterface()| Constructor and Description |
|---|
EOS_Ecom_Interface() |
EOS_Ecom_Interface(com.sun.jna.Pointer address) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkout(EOS_Ecom_CheckoutOptions options,
com.sun.jna.Pointer clientData,
EOS_Ecom_OnCheckoutCallback completionDelegate)
Initiates the purchase flow for a set of offers.
|
EOS_Ecom_Entitlement |
copyEntitlementById(EOS_Ecom_CopyEntitlementByIdOptions options)
Fetches the entitlement with the given ID.
|
EOS_Ecom_Entitlement |
copyEntitlementByIndex(EOS_Ecom_CopyEntitlementByIndexOptions options)
Fetches an entitlement from a given index.
|
EOS_Ecom_Entitlement |
copyEntitlementByNameAndIndex(EOS_Ecom_CopyEntitlementByNameAndIndexOptions options)
Fetches a single entitlement with a given Entitlement Name.
|
EOS_Ecom_CatalogItem |
copyItemById(EOS_Ecom_CopyItemByIdOptions options)
Fetches an item with a given ID.
|
EOS_Ecom_KeyImageInfo |
copyItemImageInfoByIndex(EOS_Ecom_CopyItemImageInfoByIndexOptions options)
Fetches an image from a given index.
|
EOS_Ecom_CatalogRelease |
copyItemReleaseByIndex(EOS_Ecom_CopyItemReleaseByIndexOptions options)
Fetches a release from a given index.
|
EOS_EResult |
copyLastRedeemedEntitlementByIndex(EOS_Ecom_CopyLastRedeemedEntitlementByIndexOptions options,
java.nio.ByteBuffer outRedeemedEntitlementId,
java.nio.IntBuffer InOutRedeemedEntitlementIdLength)
Fetches a redeemed entitlement id from a given index.
|
EOS_Ecom_CatalogOffer |
copyOfferById(EOS_Ecom_CopyOfferByIdOptions options)
Fetches an offer with a given ID.
|
EOS_Ecom_CatalogOffer |
copyOfferByIndex(EOS_Ecom_CopyOfferByIndexOptions options)
Fetches an offer from a given index.
|
EOS_Ecom_KeyImageInfo |
copyOfferImageInfoByIndex(EOS_Ecom_CopyOfferImageInfoByIndexOptions options)
Fetches an image from a given index.
|
EOS_Ecom_CatalogItem |
copyOfferItemByIndex(EOS_Ecom_CopyOfferItemByIndexOptions options)
Fetches an item from a given index.
|
EOS_Ecom_Transaction |
copyTransactionById(EOS_Ecom_CopyTransactionByIdOptions options)
Fetches the transaction handle at the given index.
|
EOS_Ecom_Transaction |
copyTransactionByIndex(EOS_Ecom_CopyTransactionByIndexOptions options)
Fetches the transaction handle at the given index.
|
int |
getEntitlementsByNameCount(EOS_Ecom_GetEntitlementsByNameCountOptions options)
Fetch the number of entitlements with the given Entitlement Name that are cached for a given local user.
|
int |
getEntitlementsCount(EOS_Ecom_GetEntitlementsCountOptions options)
Fetch the number of entitlements that are cached for a given local user.
|
int |
getItemImageInfoCount(EOS_Ecom_GetItemImageInfoCountOptions options)
Fetch the number of images that are associated with a given cached item for a local user.
|
int |
getItemReleaseCount(EOS_Ecom_GetItemReleaseCountOptions options)
Fetch the number of releases that are associated with a given cached item for a local user.
|
int |
getLastRedeemedEntitlementsCount(EOS_Ecom_GetLastRedeemedEntitlementsCountOptions options)
Fetch the number of entitlements that were redeemed during the last EOS_Ecom_RedeemEntitlements call.
|
int |
getOfferCount(EOS_Ecom_GetOfferCountOptions options)
Fetch the number of offers that are cached for a given local user.
|
int |
getOfferImageInfoCount(EOS_Ecom_GetOfferImageInfoCountOptions options)
Fetch the number of images that are associated with a given cached offer for a local user.
|
int |
getOfferItemCount(EOS_Ecom_GetOfferItemCountOptions options)
Fetch the number of items that are associated with a given cached offer for a local user.
|
int |
getTransactionCount(EOS_Ecom_GetTransactionCountOptions options)
Fetch the number of transactions that are cached for a given local user.
|
void |
queryEntitlements(EOS_Ecom_QueryEntitlementsOptions options,
com.sun.jna.Pointer clientData,
EOS_Ecom_OnQueryEntitlementsCallback completionDelegate)
Query the entitlement information defined with Epic Online Services.
|
void |
queryEntitlementToken(EOS_Ecom_QueryEntitlementTokenOptions options,
com.sun.jna.Pointer clientData,
EOS_Ecom_OnQueryEntitlementTokenCallback completionDelegate)
Query the entitlement verification status defined with Epic Online Services.
|
void |
queryOffers(EOS_Ecom_QueryOffersOptions options,
com.sun.jna.Pointer clientData,
EOS_Ecom_OnQueryOffersCallback completionDelegate)
Query for a list of catalog offers defined with Epic Online Services.
|
void |
queryOwnership(EOS_Ecom_QueryOwnershipOptions options,
com.sun.jna.Pointer clientData,
EOS_Ecom_OnQueryOwnershipCallback completionDelegate)
Query the ownership status for a given list of catalog item IDs defined with Epic Online Services.
|
void |
queryOwnershipBySandboxIds(EOS_Ecom_QueryOwnershipBySandboxIdsOptions options,
com.sun.jna.Pointer clientData,
EOS_Ecom_OnQueryOwnershipBySandboxIdsCallback completionDelegate)
Query the ownership status of all catalog item IDs under the given list of Sandbox IDs defined with Epic Online Services.
|
void |
queryOwnershipToken(EOS_Ecom_QueryOwnershipTokenOptions options,
com.sun.jna.Pointer clientData,
EOS_Ecom_OnQueryOwnershipTokenCallback completionDelegate)
Query the ownership status for a given list of catalog item IDs defined with Epic Online Services.
|
void |
redeemEntitlements(EOS_Ecom_RedeemEntitlementsOptions options,
com.sun.jna.Pointer clientData,
EOS_Ecom_OnRedeemEntitlementsCallback completionDelegate)
Requests that the provided entitlement be marked redeemed.
|
public EOS_Ecom_Interface(com.sun.jna.Pointer address)
public EOS_Ecom_Interface()
public void queryOwnership(EOS_Ecom_QueryOwnershipOptions options, com.sun.jna.Pointer clientData, EOS_Ecom_OnQueryOwnershipCallback completionDelegate)
options - structure containing the account and catalog item IDs to retrieveclientData - arbitrary data that is passed back to you in the CompletionDelegatecompletionDelegate - a callback that is fired when the async operation completes, either successfully or in errorpublic void queryOwnershipBySandboxIds(EOS_Ecom_QueryOwnershipBySandboxIdsOptions options, com.sun.jna.Pointer clientData, EOS_Ecom_OnQueryOwnershipBySandboxIdsCallback completionDelegate)
options - structure containing the account and Sandbox IDs to retrieve.clientData - arbitrary data that is passed back to you in the CompletionDelegate.completionDelegate - a callback that is fired when the async operation completes, either successfully or in error.public void queryOwnershipToken(EOS_Ecom_QueryOwnershipTokenOptions options, com.sun.jna.Pointer clientData, EOS_Ecom_OnQueryOwnershipTokenCallback completionDelegate)
options - structure containing the account and catalog item IDs to retrieve in token formclientData - arbitrary data that is passed back to you in the CompletionDelegatecompletionDelegate - a callback that is fired when the async operation completes, either successfully or in errorpublic void queryEntitlements(EOS_Ecom_QueryEntitlementsOptions options, com.sun.jna.Pointer clientData, EOS_Ecom_OnQueryEntitlementsCallback completionDelegate)
options - structure containing the account and entitlement names to retrieveclientData - arbitrary data that is passed back to you in the CompletionDelegatecompletionDelegate - a callback that is fired when the async operation completes, either successfully or in errorpublic void queryEntitlementToken(EOS_Ecom_QueryEntitlementTokenOptions options, com.sun.jna.Pointer clientData, EOS_Ecom_OnQueryEntitlementTokenCallback completionDelegate)
options - structure containing the account and catalog item IDs to retrieve in token formclientData - arbitrary data that is passed back to you in the CompletionDelegatecompletionDelegate - a callback that is fired when the async operation completes, either successfully or in errorpublic void queryOffers(EOS_Ecom_QueryOffersOptions options, com.sun.jna.Pointer clientData, EOS_Ecom_OnQueryOffersCallback completionDelegate)
options - structure containing filter criteriaclientData - arbitrary data that is passed back to you in the CompletionDelegatecompletionDelegate - a callback that is fired when the async operation completes, either successfully or in errorpublic void checkout(EOS_Ecom_CheckoutOptions options, com.sun.jna.Pointer clientData, EOS_Ecom_OnCheckoutCallback completionDelegate)
options - structure containing filter criteriaclientData - arbitrary data that is passed back to you in the CompletionDelegatecompletionDelegate - a callback that is fired when the async operation completes, either successfully or in errorEOS_Ecom_Transaction.release()public void redeemEntitlements(EOS_Ecom_RedeemEntitlementsOptions options, com.sun.jna.Pointer clientData, EOS_Ecom_OnRedeemEntitlementsCallback completionDelegate)
options - structure containing entitlement to redeemclientData - arbitrary data that is passed back to you in the CompletionDelegatecompletionDelegate - a callback that is fired when the async operation completes, either successfully or in errorpublic int getLastRedeemedEntitlementsCount(EOS_Ecom_GetLastRedeemedEntitlementsCountOptions options)
options - structure containing the Epic Account IDcopyLastRedeemedEntitlementByIndex(EOS_Ecom_CopyLastRedeemedEntitlementByIndexOptions, ByteBuffer, IntBuffer)public EOS_EResult copyLastRedeemedEntitlementByIndex(EOS_Ecom_CopyLastRedeemedEntitlementByIndexOptions options, java.nio.ByteBuffer outRedeemedEntitlementId, java.nio.IntBuffer InOutRedeemedEntitlementIdLength)
options - structure containing the Epic Account ID and index being accessedoutRedeemedEntitlementId - The ID of the redeemed entitlement. Must be long enough to hold a string of EOS_ECOM_ENTITLEMENTID_MAX_LENGTH.InOutRedeemedEntitlementIdLength - The size of the OutRedeemedEntitlementId in characters.
The input buffer should include enough space to be null-terminated.
When the function returns, this parameter will be filled with the length of the string copied into OutRedeemedEntitlementId.EOS_EResult.EOS_Success if the information is available and passed out in OutRedeemedEntitlementIdEOS_EResult.EOS_InvalidParameters if you pass a null pointer for the out parameterEOS_EResult.EOS_NotFound if the entitlement id is not foundEOS_Ecom_RedeemEntitlementsOptions.EOS_ECOM_ENTITLEMENTID_MAX_LENGTHpublic int getEntitlementsCount(EOS_Ecom_GetEntitlementsCountOptions options)
options - structure containing the Epic Account ID being accessedcopyEntitlementByIndex(EOS_Ecom_CopyEntitlementByIndexOptions)public int getEntitlementsByNameCount(EOS_Ecom_GetEntitlementsByNameCountOptions options)
options - structure containing the Epic Account ID and name being accessedcopyEntitlementByNameAndIndex(EOS_Ecom_CopyEntitlementByNameAndIndexOptions)public EOS_Ecom_Entitlement copyEntitlementByIndex(EOS_Ecom_CopyEntitlementByIndexOptions options) throws EOSException
options - structure containing the Epic Account ID and index being accessedEOS_Ecom_Entitlement.release() when finishedEOSEcomEntitlementStaleException - if the entitlement information is stale and passed out in OutEntitlementEOSInvalidParametersException - if you pass a null pointer for the out parameterEOSNotFoundException - if the entitlement is not foundEOSExceptionEOS_Ecom_Entitlement.release()public EOS_Ecom_Entitlement copyEntitlementByNameAndIndex(EOS_Ecom_CopyEntitlementByNameAndIndexOptions options) throws EOSException
options - structure containing the Epic Account ID, entitlement name, and index being accessedEOS_Ecom_Entitlement.release() when finishedEOSEcomEntitlementStaleException - if the entitlement information is stale and passed out in OutEntitlementEOSInvalidParametersException - if you pass a null pointer for the out parameterEOSNotFoundException - if the entitlement is not foundEOSExceptionEOS_Ecom_Entitlement.release()public EOS_Ecom_Entitlement copyEntitlementById(EOS_Ecom_CopyEntitlementByIdOptions options) throws EOSException
options - structure containing the Epic Account ID and entitlement ID being accessedEOS_Ecom_Entitlement.release() when finishedEOSEcomEntitlementStaleException - if the entitlement information is stale and passed out in OutEntitlementEOSInvalidParametersException - if you pass a null pointer for the out parameterEOSNotFoundException - if the entitlement is not foundEOSExceptioncopyEntitlementByNameAndIndex(EOS_Ecom_CopyEntitlementByNameAndIndexOptions),
EOS_Ecom_Entitlement.release()public int getOfferCount(EOS_Ecom_GetOfferCountOptions options)
options - structure containing the Epic Account ID being accessedcopyOfferByIndex(EOS_Ecom_CopyOfferByIndexOptions)public EOS_Ecom_CatalogOffer copyOfferByIndex(EOS_Ecom_CopyOfferByIndexOptions options) throws EOSException
options - structure containing the Epic Account ID and index being accessedEOSEcomCatalogOfferStaleException - if the offer information is stale and passed out in OutOfferEOSEcomCatalogOfferPriceInvalidException - if the offer information has an invalid price and passed out in OutOfferEOSInvalidParametersException - if you pass a null pointer for the out parameterEOSNotFoundException - if the offer is not foundEOSExceptionEOS_Ecom_CatalogOffer.release(),
getOfferItemCount(EOS_Ecom_GetOfferItemCountOptions)public EOS_Ecom_CatalogOffer copyOfferById(EOS_Ecom_CopyOfferByIdOptions options) throws EOSException
options - structure containing the Epic Account ID and offer ID being accessedEOS_Ecom_CatalogOffer.release() when finishedEOSEcomCatalogOfferStaleException - if the offer information is stale and passed out in OutOfferEOSEcomCatalogOfferPriceInvalidException - if the offer information has an invalid price and passed out in OutOfferEOSInvalidParametersException - if you pass a null pointer for the out parameterEOSNotFoundException - if the offer is not foundEOSExceptionEOS_Ecom_CatalogOffer.release(),
getOfferItemCount(EOS_Ecom_GetOfferItemCountOptions)public int getOfferItemCount(EOS_Ecom_GetOfferItemCountOptions options)
options - structure containing the Epic Account ID and offer ID being accessedpublic EOS_Ecom_CatalogItem copyOfferItemByIndex(EOS_Ecom_CopyOfferItemByIndexOptions options) throws EOSException
options - structure containing the Epic Account ID and index being accessedEOSInvalidParametersException - if you pass a null pointer for the out parameterEOSEcomCatalogItemStaleException - if the item information is staleEOSNotFoundException - if the item is not foundEOSExceptionEOS_Ecom_CatalogItem.release(),
getItemImageInfoCount(EOS_Ecom_GetItemImageInfoCountOptions),
getItemReleaseCount(EOS_Ecom_GetItemReleaseCountOptions)public EOS_Ecom_CatalogItem copyItemById(EOS_Ecom_CopyItemByIdOptions options) throws EOSException
options - structure containing the item ID being accessedEOSEcomCatalogItemStaleException - if the item information is stale and passed out in OutItemEOSInvalidParametersException - if you pass a null pointer for the out parameterEOSNotFoundException - if the offer is not foundEOSExceptionEOS_Ecom_CatalogItem.release(),
getItemImageInfoCount(EOS_Ecom_GetItemImageInfoCountOptions),
getItemReleaseCount(EOS_Ecom_GetItemReleaseCountOptions)public int getOfferImageInfoCount(EOS_Ecom_GetOfferImageInfoCountOptions options)
options - structure containing the offer ID being accessedpublic EOS_Ecom_KeyImageInfo copyOfferImageInfoByIndex(EOS_Ecom_CopyOfferImageInfoByIndexOptions options) throws EOSException
options - structure containing the offer ID and index being accessedEOSInvalidParametersException - if you pass a null pointer for the out parameterEOSEcomCatalogOfferStaleException - if the associated offer information is staleEOSNotFoundException - if the image is not foundEOSExceptionEOS_Ecom_KeyImageInfo.release()public int getItemImageInfoCount(EOS_Ecom_GetItemImageInfoCountOptions options)
options - structure containing the item ID being accessedpublic EOS_Ecom_KeyImageInfo copyItemImageInfoByIndex(EOS_Ecom_CopyItemImageInfoByIndexOptions options) throws EOSException
options - structure containing the item ID and index being accessedEOS_Ecom_KeyImageInfo.release() when finishedEOSInvalidParametersException - if you pass a null pointer for the out parameterEOSEcomCatalogItemStaleException - if the associated item information is staleEOSNotFoundException - if the image is not foundEOSExceptionEOS_Ecom_KeyImageInfo.release()public int getItemReleaseCount(EOS_Ecom_GetItemReleaseCountOptions options)
options - structure containing the item ID being accessedpublic EOS_Ecom_CatalogRelease copyItemReleaseByIndex(EOS_Ecom_CopyItemReleaseByIndexOptions options) throws EOSException
options - structure containing the item ID and index being accessedEOS_Ecom_CatalogRelease.release() when finishedEOSInvalidParametersException - if you pass a null pointer for the out parameterEOSEcomCatalogItemStaleException - if the associated item information is staleEOSNotFoundException - if the release is not foundEOSExceptionEOS_Ecom_CatalogRelease.release()public int getTransactionCount(EOS_Ecom_GetTransactionCountOptions options)
options - structure containing the Epic Account ID being accessedEOS_Ecom_CheckoutCallbackInfo,
copyTransactionByIndex(EOS_Ecom_CopyTransactionByIndexOptions)public EOS_Ecom_Transaction copyTransactionByIndex(EOS_Ecom_CopyTransactionByIndexOptions options) throws EOSException
options - structure containing the Epic Account ID and index being accessedEOSInvalidParametersException - if you pass a null pointer for the out parameterEOSNotFoundException - if the transaction is not foundEOSExceptionEOS_Ecom_CheckoutCallbackInfo,
EOS_Ecom_Transaction.release()public EOS_Ecom_Transaction copyTransactionById(EOS_Ecom_CopyTransactionByIdOptions options) throws EOSException
options - structure containing the Epic Account ID and transaction ID being accessedEOSInvalidParametersException - if you pass a null pointer for the out parameterEOSNotFoundException - if the transaction is not foundEOSExceptionEOS_Ecom_CheckoutCallbackInfo,
EOS_Ecom_Transaction.release()