Wasabi ExpressPlay SDK for Embedded Systems
1.23.0
|
retrieves the data of an item More...
Macros | |
#define | EMB_TYPE_ID_EMBB_OBJ 2000 |
The type id that is used to distinguish the data type of an EMBB related object when it is carried in a SHI_Data object container. More... | |
Typedefs | |
typedef struct EMB_Epl | EMB_Epl |
Opaque structure for EPL. More... | |
typedef struct EMB_Gko | EMB_Gko |
Opaque structure for GKO. More... | |
typedef struct EMB_Mbb | EMB_Mbb |
Opaque structure for MBB. More... | |
typedef struct EMB_Item | EMB_Item |
EMBB item is an object that retrieved from EMBB Storage. More... | |
Enumerations | |
enum | EMB_ItemType { EMB_IT_UNKNOWN = 0, EMB_IT_EPL, EMB_IT_GKO, EMB_IT_MBB } |
EMBB item type. More... | |
enum | EMB_TargetType { EMB_TG_NONE = 0, EMB_TG_DEVICE, EMB_TG_GROUP } |
EMBB target type. More... | |
Functions | |
EMB_EXPORT EMB_UInt32 | EMB_Item_GetItemId (const EMB_Item *item) |
Gets the item id of the retrieved EMBB item. More... | |
EMB_EXPORT EMB_ByteArray | EMB_Item_GetId (const EMB_Item *item) |
Gets the id of the retrieved EMBB item. More... | |
EMB_EXPORT EMB_ItemType | EMB_Item_GetType (const EMB_Item *item) |
Gets the type of the retrieved EMBB item. More... | |
EMB_EXPORT EMB_ByteArray | EMB_Item_GetData (const EMB_Item *item) |
Gets the data of the retrieved EMBB item. More... | |
EMB_EXPORT EMB_UInt32 | EMB_Item_GetFirstUse (const EMB_Item *item) |
Gets the "first use" date of the retrieved EMBB item. More... | |
EMB_EXPORT EMB_UInt32 | EMB_Item_GetExpirationDate (const EMB_Item *item) |
Gets the expiration date of the retrieved EMBB item. More... | |
EMB_EXPORT EMB_TargetType | EMB_Item_GetTargetType (const EMB_Item *item) |
Gets the target type of the retrieved EMBB item. More... | |
EMB_EXPORT EMB_ByteArray | EMB_Item_GetTargetId (const EMB_Item *item) |
Gets the target id of the retrieved EMBB item. More... | |
retrieves the data of an item
#define EMB_TYPE_ID_EMBB_OBJ 2000 |
The type id that is used to distinguish the data type of an EMBB related object when it is carried in a SHI_Data object container.
enum EMB_ItemType |
EMBB item type.
EMBB item of EPL and GKO are saved into the EMBB Storage. The MBB used to remove the content-id from Wasabi License store.
Enumerator | |
---|---|
EMB_IT_UNKNOWN | The item value type is unknown. |
EMB_IT_EPL | The item value type is EPL. |
EMB_IT_GKO | The item value type is GKO. |
EMB_IT_MBB | The item value type is MBB. |
enum EMB_TargetType |
EMB_EXPORT EMB_ByteArray EMB_Item_GetData | ( | const EMB_Item * | item | ) |
Gets the data of the retrieved EMBB item.
item | Retrieved EMBB item. |
EMB_EXPORT EMB_UInt32 EMB_Item_GetExpirationDate | ( | const EMB_Item * | item | ) |
Gets the expiration date of the retrieved EMBB item.
item | Retrieved EMBB item. |
EMB_EXPORT EMB_UInt32 EMB_Item_GetFirstUse | ( | const EMB_Item * | item | ) |
Gets the "first use" date of the retrieved EMBB item.
If the "first use" is 0 then corresponding expiration value is equal to the expiration value when EPL or GKO is received.
The "first use" and expiration values get updated only upon very first request of EnableContent.
item | Retrieved EMBB item. |
EMB_EXPORT EMB_ByteArray EMB_Item_GetId | ( | const EMB_Item * | item | ) |
Gets the id of the retrieved EMBB item.
item | Retrieved EMBB item. |
EMB_EXPORT EMB_UInt32 EMB_Item_GetItemId | ( | const EMB_Item * | item | ) |
Gets the item id of the retrieved EMBB item.
The item id is the id that was assigned by the EMBB Storage when the item was added.
item | Retrieved EMBB item. |
EMB_EXPORT EMB_ByteArray EMB_Item_GetTargetId | ( | const EMB_Item * | item | ) |
Gets the target id of the retrieved EMBB item.
This API must be enclosed between WSB_Runtime_Initialize and WSB_Runtime_Terminate.
item | Retrieved EMBB item. |
EMB_EXPORT EMB_TargetType EMB_Item_GetTargetType | ( | const EMB_Item * | item | ) |
Gets the target type of the retrieved EMBB item.
item | Retrieved EMBB item. |
EMB_EXPORT EMB_ItemType EMB_Item_GetType | ( | const EMB_Item * | item | ) |
Gets the type of the retrieved EMBB item.
item | Retrieved EMBB item. |