CUpnpAVDevice Class Reference
| class CUpnpAVDevice : public CBase |
UPnP AV Device class
UPnP AV Device class, represents a UPnP Media Server or Renderer.
Constructor & Destructor Documentation
CUpnpAVDevice()
| IMPORT_C | CUpnpAVDevice | ( | ) | [protected] |
~CUpnpAVDevice()
| IMPORT_C | ~CUpnpAVDevice | ( | ) | [virtual] |
Member Functions Documentation
AudioCapability()
| IMPORT_C TBool | AudioCapability | ( | ) | const |
Gets the audio media capability of the device
ConstructL()
| void | ConstructL | ( | ) | [protected] |
Perform the second phase construction
CopyCapability()
| IMPORT_C TBool | CopyCapability | ( | ) | const |
Gets the copy capability of the device
CopyFromL(const CUpnpAVDevice &)
Overwrites all existing data in this device and replaces it with data copied from given device.
- Since
- Series 60 3.1
DlnaCompatible()
| IMPORT_C TBool | DlnaCompatible | ( | ) | const |
Return if the device is Dlna compatible
ExternalizeL(RWriteStream &)
Externalizes device information to stream. Leaves in case of errors.
- Since
- Series 60 3.0
FriendlyName()
| IMPORT_C const TDesC8 & | FriendlyName | ( | ) | const |
ImageCapability()
| IMPORT_C TBool | ImageCapability | ( | ) | const |
Gets the image media capability of the device
InternalizeL(RReadStream &)
Internalizes device information from stream. Leaves in case of errors.
- Since
- Series 60 3.0
LinkOffset()
| IMPORT_C TInt | LinkOffset | ( | ) | [static] |
Return link offset (used in linked list)
MaxVolume()
| IMPORT_C TInt | MaxVolume | ( | ) | const |
Gets the maximum volume of the device
MuteCapability()
| IMPORT_C TBool | MuteCapability | ( | ) | const |
Gets the mute capability of the device
NewL(const CUpnpAVDevice &)
NewLC()
Two-phased constructor. Instance is left in cleanup stack.
NextAVTransportUri()
| IMPORT_C TBool | NextAVTransportUri | ( | ) | const |
Returns the SetNextAVTransportUri capability of the device
PauseCapability()
| IMPORT_C TBool | PauseCapability | ( | ) | const |
Gets the pause capability of the device
SearchCapability()
| IMPORT_C TBool | SearchCapability | ( | ) | const |
Gets the search capability of the device
SetAudioCapability(TBool)
| IMPORT_C void | SetAudioCapability | ( | TBool | aCap | ) | |
Sets audio capability of the device
SetCapabilitiesBySupportedMimeTypesL(const TDesC8 &)
| IMPORT_C void | SetCapabilitiesBySupportedMimeTypesL | ( | const TDesC8 & | aListOfMimeTypes | ) | |
Parameters
| const TDesC8 & aListOfMimeTypes | |
SetCopyCapability(TBool)
| IMPORT_C void | SetCopyCapability | ( | TBool | aCopyCap | ) | |
Sets the copy capability of the device
SetDeviceType(TUpnpAVDeviceType)
Sets the device type (Media Server/Renderer)
SetDlnaCompatible(TBool)
| IMPORT_C void | SetDlnaCompatible | ( | TBool | aDlnaCompatible | ) | |
Sets if the device is Dlna compatible
SetFriendlyNameL(const TDesC8 &)
| IMPORT_C void | SetFriendlyNameL | ( | const TDesC8 & | aName | ) | |
Sets the friendly name of the device
SetImageCapability(TBool)
| IMPORT_C void | SetImageCapability | ( | TBool | aCap | ) | |
Sets image capability of the device
SetMaxVolume(TInt)
| IMPORT_C void | SetMaxVolume | ( | TInt | aVolume | ) | |
Sets the maximum volume of the device
SetMuteCapability(TBool)
| IMPORT_C void | SetMuteCapability | ( | TBool | aMuteCap | ) | |
Sets the mute capability of the device
SetNextAVTransportUri(TBool)
| IMPORT_C void | SetNextAVTransportUri | ( | TBool | aCap | ) | |
Sets the SetNextAVTransportUri capability of the device
SetPauseCapability(TBool)
| IMPORT_C void | SetPauseCapability | ( | TBool | aPauseCap | ) | |
Sets the pause capability of the device
SetSearchCapability(TBool)
| IMPORT_C void | SetSearchCapability | ( | TBool | aSearchCap | ) | |
Sets the search capability of the device
SetUuidL(const TDesC8 &)
| IMPORT_C void | SetUuidL | ( | const TDesC8 & | aUuid | ) | |
Sets the Uuid of the device
SetVideoCapability(TBool)
| IMPORT_C void | SetVideoCapability | ( | TBool | aCap | ) | |
Sets video capability of the device
SetVolumeCapability(TBool)
| IMPORT_C void | SetVolumeCapability | ( | TBool | aVolumeCap | ) | |
Sets the volume capability of the device
ToDes8L()
| IMPORT_C HBufC8 * | ToDes8L | ( | ) | const |
Externalizes device information to a heap descriptor
Uuid()
| IMPORT_C const TDesC8 & | Uuid | ( | ) | const |
VideoCapability()
| IMPORT_C TBool | VideoCapability | ( | ) | const |
Gets the video media capability of the device
VolumeCapability()
| IMPORT_C TBool | VolumeCapability | ( | ) | const |
Gets the volume capability of the device
Member Enumerations Documentation
Enum TUpnpAVDeviceType
Enumeration to define the type of a device
Enumerators
| EMediaServer | |
| EMediaRenderer | |
Member Data Documentation
TBool
iAudioMediaCapability
|
TBool
| iAudioMediaCapability | [protected] |
TBool
iCopyCapability
|
TBool
| iCopyCapability | [protected] |
TUpnpAVDeviceType
iDeviceType
TBool
iDlnaCompatible
|
TBool
| iDlnaCompatible | [protected] |
TBool
iImageMediaCapability
|
TBool
| iImageMediaCapability | [protected] |
TInt
iMaxVolume
|
TInt
| iMaxVolume | [protected] |
TBool
iMuteCapability
|
TBool
| iMuteCapability | [protected] |
TBool
iNextAVTransportUri
|
TBool
| iNextAVTransportUri | [protected] |
TBool
iPauseCapability
|
TBool
| iPauseCapability | [protected] |
TBool
iSearchCapability
|
TBool
| iSearchCapability | [protected] |
TBool
iVideoMediaCapability
|
TBool
| iVideoMediaCapability | [protected] |
TBool
iVolumeCapability
|
TBool
| iVolumeCapability | [protected] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.