The DLL that provides the functionality and the library to which your code must link is identified below.
There are two kinds of MTP data defined in the MTP specification:
Data used in MTP operations, responses or events. It can be data passed as a parameter to an MTP operation, response or event, or dataset transferred for an operation request. For example, if a host PC sends the
Media data file transferred between an initiator and a responder. The MTP specification refers it to as binary object data or object data. The
The MTP Data Types library supports the above kinds of MTP data. When the Symbian MTP Framework receives a request (from a host PC or a device) for MTP data, it loads the corresponding
The Data Types library provides four types of data: Simple, Flat, Complex and Compound. Simple data type implements MTP integer data types while Flat, Complex and Compound data types implement
Note: Binary object data is represented by
Simple data type –a single integer value.
Flat data type –a fixed-length collection of simple descrete data values. For example,
The following diagram shows the flat classes and their relationships.
Complex data type –a variable-length contiguous array or string. The following diagram shows the complex classes and their relationships.
Compound data type –a mixed sequence of simple, flat, complex and compound types.
Compound classes were initially derived from
Note:
The following diagram and table describe the compound base classes. For a complete set of the derived classes, refer the MTP API references.
MTP data providers use the MTP Data Types library to process datasets for MTP operations and events. Device creators can provide their extended data types.
The DLL that provides the functionality and the library to which your code must link is identified below.
There are two kinds of MTP data defined in the MTP specification:
Data used in MTP operations, responses or events. It can be data passed as a parameter to an MTP operation, response or event, or dataset transferred for an operation request. For example, if a host PC sends the
Media data file transferred between an initiator and a responder. The MTP specification refers it to as binary object data or object data. The
The MTP Data Types library supports the above kinds of MTP data. When the Symbian MTP Framework receives a request (from a host PC or a device) for MTP data, it loads the corresponding
The Data Types library provides four types of data: Simple, Flat, Complex and Compound. Simple data type implements MTP integer data types while Flat, Complex and Compound data types implement
Note: Binary object data is represented by
Simple data type –a single integer value.
Flat data type –a fixed-length collection of simple descrete data values. For example,
The following diagram shows the flat classes and their relationships.
Complex data type –a variable-length contiguous array or string. The following diagram shows the complex classes and their relationships.
Compound data type –a mixed sequence of simple, flat, complex and compound types.
Compound classes were initially derived from
Note:
The following diagram and table describe the compound base classes. For a complete set of the derived classes, refer the MTP API references.
MTP data providers use the MTP Data Types library to process datasets for MTP operations and events. Device creators can provide their extended data types.