MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

ResourcePolicy Namespace Reference

The Namespace for Meego Resource Policy APIs. More...

Classes

class   AudioResource
  The AudioResource class represents the audio device. More...
class   ResourceSet
  Needed resources must be added to the ResourceSet. More...
class   Resource
  This class is the parent class for all resources. More...
class   AudioRecorderResource
  The AudioRecorderResource class represents the audio recorder device. More...
class   BacklightResource
  The BacklightResource is used by applications wanting to control the backlight. More...
class   LedsResource
  Resource to be used when the application wants to fiddle with the leds. More...
class   VibraResource
  Resource to be used when the application wants to use the vibra. More...
class   VideoRecorderResource
  Resource to be used when the application wants to record video. More...
class   VideoResource
  Resource to be used when the application wants to render video with the DSP decoder to render the viewfinder. More...
class   SystemButtonResource
  Resource to be used when the application wants to control the system button. More...
class   LockButtonResource
  Resource to be used when the application wants to control the lock button. More...
class   ScaleButtonResource
  Resource to be used when the application wants to control the volume/scale button. More...
class   SnapButtonResource
  Resource to be used when the application wants to take still pictures. More...
class   HeadsetButtonsResource
  Resource to be used when the application wants to control the headset buttons. More...

Enumerations

enum   ResourceType {
  AudioPlaybackType = 0,
  VideoPlaybackType,
  AudioRecorderType,
  VideoRecorderType,
  VibraType,
  LedsType,
  BacklightType,
  SystemButtonType,
  LockButtonType,
  ScaleButtonType,
  SnapButtonType ,
  HeadsetButtonsType
}
 

This enumeration represents the resources which can be reserved.

More...

Detailed Description

The Namespace for Meego Resource Policy APIs.

All Resource Policy Qt APIs reside under the ResourcePolicy namespace.


Enumeration Type Documentation

This enumeration represents the resources which can be reserved.

See also:
ResourcePolicy::ResourceSet for info on how to reserve resources.
Enumerator:
AudioPlaybackType 

For audio playback.

VideoPlaybackType 

For video playback.

AudioRecorderType 

For audio recording (using of the microphone).

VideoRecorderType 

For video recording (using the camera).

VibraType 

For Vibra.

LedsType 

For LEDs.

BacklightType 

For the backlight (of the display).

SystemButtonType 

For the system (power) button.

LockButtonType 

For the lock button.

ScaleButtonType 

The scale (zoom) button.

SnapButtonType 

Use this if you are a camera application.

HeadsetButtonsType 

Use this to reserve the headset buttons.


Copyright (C) 2011 Nokia Corporation.
LGPL This file is part of libresourceqt
MeeGo 1.2 Harmattan API