mme_ms_statechange_t

Data for media store state change event

Synopsis:

#include <mme/types.h>

typedef struct s_mme_ms_statechange {
    uint64_t    msid;
    uint32_t    old_state;
    uint32_t    new_state;
    uint16_t    device_type;
    uint16_t    storage_type;
    uint32_t    reserved;

}

Description:

The structure mme_ms_statechange_t carries data for the mediastore state change events MME_MS_STATECHANGE. It includes at least the members described in the table below.

Member Type Description
msid uint64_t The mediastore ID
old_state uint32_t The previous state of the mediastore
new_state uint32_t The new state of the mediastore
device_type uint16_t The device type. See Device types below.
storage_type uint16_t The mediastore storage type, as defined by the MME_STORAGETYPE_* constant.
reserved uint32_t Reserved for internal use.

Mediastore states are defined by the enumerated value mme_ms_state_t. For more information about mediastore states and state transitions, see the chapter Working with Mediastores.

Device types

The value of device_type is defined by the slottype field for the mediastore in the slots table. This field uses the values defined by the MME_SLOTTYPE_*, and its use is defined by the user.


Note: If the MME is unable to associate a mediastore that is available but not active with an entry in the slots table, the value for device_type may be MME_SLOTTYPE_UNKNOWN.

Classification:

QNX Multimedia

See also:

mme_ms_state_t