MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

OviNotificationPayload Class Reference

List of all members.

Public Slots

virtual QString  dataString () const
virtual QString  type () const
virtual QString  encoding () const
virtual QByteArray  data () const

Public Member Functions

  OviNotificationPayload ()
  ~OviNotificationPayload ()

Properties

QString  dataString
QString  type
QString  encoding
QByteArray  data

Friends

class  OviNotificationResponseHandler

Constructor & Destructor Documentation

OviNotificationPayload::OviNotificationPayload (  ) 
OviNotificationPayload::~OviNotificationPayload (  ) 

Member Function Documentation

virtual QByteArray OviNotificationPayload::data (  )  const [virtual, slot]

Returns the payload data as a bytearray.

Returns:
Payload data
virtual QString OviNotificationPayload::dataString (  )  const [virtual, slot]

Returns the payload data as a string.

Returns:
Payload data string
virtual QString OviNotificationPayload::encoding (  )  const [virtual, slot]

Returns the encoding type of the data. Default encoding is base64. If the service prefers to use some other coding the value will carry identifier for the encoding used. Empty value means no encoding used.

Returns:
Encoding type string
virtual QString OviNotificationPayload::type (  )  const [virtual, slot]

Returns the content type of the data. It is recommended to use IANA registered content types.

Returns:
Content type string

Friends And Related Function Documentation

friend class OviNotificationResponseHandler [friend]

Property Documentation

QByteArray OviNotificationPayload::data [read]
QString OviNotificationPayload::dataString [read]
QString OviNotificationPayload::encoding [read]
QString OviNotificationPayload::type [read]

Copyright (C) 2010-2011 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. Contact: notifications.support@nokia.com This software, including documentation, is protected by copyright controlled by Nokia Corporation. All rights reserved. You may use this file only in accordance with the Nokia Developer Software Agreement version 2.0 and accompanying Ovi any additional terms. This material also contains confidential information which may not be disclosed to others without the prior written consent of Nokia.
Nokia Developer Software Agreement version 2.0 and accompanying Ovi any additional terms
MeeGo 1.2 Harmattan API