CAccMonitorInfo Class Reference

#include <AccMonitorInfo.h>

Link against: accmonitor.lib

class CAccMonitorInfo : public CBase

Inherits from

  • CAccMonitorInfo

    Detailed Description

    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.

    library
    AccMonitor
    Since
    S60 5.0

    Constructor & Destructor Documentation

    ~CAccMonitorInfo ( )

    ~CAccMonitorInfo()[virtual]

    Destructor

    Member Function Documentation

    AccCapabilityAtIndex ( TInt )

    TAccMonCapability AccCapabilityAtIndex(TIntaIndex)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.

    ParameterDescription
    aIndexis the index where some capability needs to be getted.

    Returns: TAccMonCapability the capability in that index.

    AccDeviceAddress ( )

    TUint64 AccDeviceAddress()const [inline]

    Gets the accessory device address defined for this connected accessory.

    Returns: This accessory's device address.

    AccDeviceType ( )

    TAccMonCapability AccDeviceType()const [inline]

    Gets the accessory device type defined for this connected accessory.

    Returns: The accessory device type.

    AccPhysicalConnection ( )

    TAccMonCapability AccPhysicalConnection()const [inline]

    Gets the accessory physical connection defined for this connected accessory.

    Returns: The accessory physical connection.

    CompareL ( const CAccMonitorInfo * )

    IMPORT_C TBoolCompareL(const CAccMonitorInfo *aAccMonInfo)const

    Comparison function for this class.

    ParameterDescription
    aAccMonInfois the instance what needs to be compared.

    Returns: ETrue if comparison matches.

    CopyL ( const CAccMonitorInfo * )

    IMPORT_C voidCopyL(const CAccMonitorInfo *aAccMonInfo)

    Copy function for this class.

    ParameterDescription
    aAccMonInfois the instance from what the copy needs to be made of.

    Returns: CAccMonitorInfo the copy of this class.

    Count ( )

    TInt Count()const [inline]

    Gets the count of objects in the array.

    Returns: TInt the size of array.

    Exists ( TAccMonCapability )

    TBool Exists(TAccMonCapabilityaCapability)const [inline]

    Checks if some capability is defined in this connected accessory.

    ParameterDescription
    aCapabilityis the capability definition that needs to be checked if it is defined for this accessory.

    Returns: ETrue if this capability is defined.

    Exists ( RAccMonCapabilityArray & )

    IMPORT_C TBoolExists(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.

    ParameterDescription
    aCapabilityArrayis the array of capability definitionion that need to be checked if they are defined for this accessory.

    Returns: ETrue if these capabilities is defined.

    NewL ( )

    IMPORT_C CAccMonitorInfo *NewL()[static]

    Symbian two phased constructor.

    NewL ( const CAccMonitorInfo * )

    IMPORT_C CAccMonitorInfo *NewL(const CAccMonitorInfo *aAccMonInfo)[static]

    Symbian two phased constructor.

    NewLC ( )

    IMPORT_C CAccMonitorInfo *NewLC()[static]

    Symbian two phased constructor.

    NewLC ( const CAccMonitorInfo * )

    IMPORT_C CAccMonitorInfo *NewLC(const CAccMonitorInfo *aAccMonInfo)[static]

    Symbian two phased constructor.

    Reset ( )

    voidReset()[inline]

    Reset the instance values.