#include <AccMonitorInfo.h>
class CAccMonitorInfo : public CBase |
Public Member Functions | |
---|---|
virtual | ~CAccMonitorInfo() |
TAccMonCapability | AccCapabilityAtIndex(TInt) |
TUint64 | AccDeviceAddress() |
TAccMonCapability | AccDeviceType() |
TAccMonCapability | AccPhysicalConnection() |
IMPORT_C TBool | CompareL(const CAccMonitorInfo *) |
IMPORT_C void | CopyL(const CAccMonitorInfo *) |
TInt | Count() |
TBool | Exists(TAccMonCapability) |
IMPORT_C TBool | Exists(RAccMonCapabilityArray &) |
IMPORT_C CAccMonitorInfo * | NewL() |
IMPORT_C CAccMonitorInfo * | NewL(const CAccMonitorInfo *) |
IMPORT_C CAccMonitorInfo * | NewLC() |
IMPORT_C CAccMonitorInfo * | NewLC(const CAccMonitorInfo *) |
void | Reset() |
CAccMonitorInfo is a container for single accessory information.
CAccMonitorInfo holds accessory capabilities and other accessory related information. The data members of this class can be accessed with methods in in this class.
See also: CAccMonitor for examples.
TAccMonCapability | AccCapabilityAtIndex | ( | TInt | aIndex | ) | const [inline] |
Gets a capability that is defined in the array for this connected accessory. If the array of this class is empty and this function is used this function will panic.
Parameter | Description |
---|---|
aIndex | is the index where some capability needs to be getted. |
Returns: TAccMonCapability the capability in that index.
TUint64 | AccDeviceAddress | ( | ) | const [inline] |
Gets the accessory device address defined for this connected accessory.
Returns: This accessory's device address.
TAccMonCapability | AccDeviceType | ( | ) | const [inline] |
Gets the accessory device type defined for this connected accessory.
Returns: The accessory device type.
TAccMonCapability | AccPhysicalConnection | ( | ) | const [inline] |
Gets the accessory physical connection defined for this connected accessory.
Returns: The accessory physical connection.
IMPORT_C TBool | CompareL | ( | const CAccMonitorInfo * | aAccMonInfo | ) | const |
Comparison function for this class.
Parameter | Description |
---|---|
aAccMonInfo | is the instance what needs to be compared. |
Returns: ETrue if comparison matches.
IMPORT_C void | CopyL | ( | const CAccMonitorInfo * | aAccMonInfo | ) |
Copy function for this class.
Parameter | Description |
---|---|
aAccMonInfo | is the instance from what the copy needs to be made of. |
Returns: CAccMonitorInfo the copy of this class.
TBool | Exists | ( | TAccMonCapability | aCapability | ) | const [inline] |
Checks if some capability is defined in this connected accessory.
Parameter | Description |
---|---|
aCapability | is the capability definition that needs to be checked if it is defined for this accessory. |
Returns: ETrue if this capability is defined.
IMPORT_C TBool | Exists | ( | RAccMonCapabilityArray & | aCapabilityArray | ) | const |
Checks if a group of capabilities are defined for this accessory. aCapabilityArray is the array of capabilities that need to be checked.
Parameter | Description |
---|---|
aCapabilityArray | is the array of capability definitionion that need to be checked if they are defined for this accessory. |
Returns: ETrue if these capabilities is defined.
IMPORT_C CAccMonitorInfo * | NewL | ( | const CAccMonitorInfo * | aAccMonInfo | ) | [static] |
Symbian two phased constructor.
IMPORT_C CAccMonitorInfo * | NewLC | ( | const CAccMonitorInfo * | aAccMonInfo | ) | [static] |
Symbian two phased constructor.