×
Namespaces

Variants
Actions
(Difference between revisions)

Archived:Retrieving the current active profile on Symbian

From Nokia Developer Wiki
Jump to: navigation, search
Forum Nokia KB (Talk | contribs)
m (Protected "TSS000513 - Retrieving the current active profile of the device": KB [edit=sysop:move=sysop])
hamishwillee (Talk | contribs)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{KBTS}}
+
{{Archived|timestamp=20120314053225|user=roy.debjit| }}
__NOTOC__
+
[[Category:Symbian C++]][[Category:S60 3rd Edition FP1]]
__NOEDITSECTION__
+
  
[[Category:Technical Solution]]
 
  
{|border="2" cellspacing="0" cellpadding="4" width="100%"
 
|
 
====Subject:====
 
|colspan = "2"|Retrieving the current active profile of the device
 
|TSS000513
 
  
|-
+
{{ArticleMetaData <!-- v1.2 -->
|rowspan = "2"|
+
|sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) -->
====&nbsp;====
+
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
|Platform(s):
+
|devices= <!-- Devices tested against - e.g. ''devices=Nokia 6131 NFC, Nokia C7-00'') -->
|colspan = "2"|Device(s), SW version(s):
+
|sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) -->
 +
|platform= S60 3rd Edition, FP1
 +
|devicecompatability= <!-- Compatible devices (e.g.: All* (must have GPS) ) -->
 +
|dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 -->
 +
|signing= <!-- Empty or one of Self-Signed, DevCert, Manufacturer -->
 +
|capabilities= <!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. -->
 +
|keywords= <!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase -->
 +
|language= <!-- Language category code for non-English topics - e.g. Lang-Chinese -->
 +
|translated-by= <!-- [[User:XXXX]] -->
 +
|translated-from-title= <!-- Title only -->
 +
|translated-from-id= <!-- Id of translated revision -->
 +
|review-by= <!-- After re-review: [[User:username]] -->
 +
|review-timestamp= <!-- After re-review: YYYYMMDD -->
 +
|update-by= <!-- After significant update: [[User:username]]-->
 +
|update-timestamp= <!-- After significant update: YYYYMMDD -->
 +
|creationdate= 20061130
 +
|author= [[User:Technical writer 2]]
 +
<!-- The following are not in current metadata -->
 +
|subcategory=
 +
|id= TSS000513
 +
}}
  
|-
+
== Overview ==
|S60 3rd Edition, FP1
+
Retrieving the current active profile of the device
|colspan = "2"|&nbsp;
+
  
|-
+
== Description ==
|
+
Retrieving the current active profile of the device using the Profiles Engine Wrapper API.<br>The 2 header files that need to be included are mproengengine.h and proengfactory.h<br>The library that needs to be included is ProfileEngine.lib<br>Below are the example codes.<br>MProEngEngine* engine = ProEngFactory::NewEngineLC();<br>TInt activeId( engine-<nowiki>></nowiki>ActiveProfileId() );<br>The return values of ActiveProfileId() are:<br>0 - General<br>1 - Silent<br>2 - Meeting<br>3 - Outdoor<br>4 - Pager<br>5 – Offline
====Category:====
+
|colspan = "3"|Symbian C<nowiki>++</nowiki>
+
 
+
|-
+
|
+
====Subcategory:====
+
|colspan = "3"|-
+
 
+
|-
+
|
+
====Description:====
+
|colspan = "3"|Retrieving the current active profile of the device using the Profiles Engine Wrapper API.<br>The 2 header files that need to be included are mproengengine.h and proengfactory.h<br>The library that needs to be included is ProfileEngine.lib<br>Below are the example codes.<br>MProEngEngine* engine = ProEngFactory::NewEngineLC();<br>TInt activeId( engine-<nowiki>></nowiki>ActiveProfileId() );<br>The return values of ActiveProfileId() are:<br>0 - General<br>1 - Silent<br>2 - Meeting<br>3 - Outdoor<br>4 - Pager<br>5 – Offline
+
 
+
|-
+
|
+
====Creation date:====
+
|colspan = "3"|November 30, 2006
+
 
+
|-
+
|
+
====Last modified:====
+
|colspan = "3"|-
+
 
+
|-
+
[[Category:Symbian C++]][[Category:S60 3rd Edition, Feature Pack 1]]
+

Latest revision as of 09:19, 14 June 2012

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.



Article Metadata
Compatibility
Platform(s): S60 3rd Edition, FP1
S60 3rd Edition FP1
Article
Created: User:Technical writer 2 (30 Nov 2006)
Last edited: hamishwillee (14 Jun 2012)

[edit] Overview

Retrieving the current active profile of the device

[edit] Description

Retrieving the current active profile of the device using the Profiles Engine Wrapper API.
The 2 header files that need to be included are mproengengine.h and proengfactory.h
The library that needs to be included is ProfileEngine.lib
Below are the example codes.
MProEngEngine* engine = ProEngFactory::NewEngineLC();
TInt activeId( engine->ActiveProfileId() );
The return values of ActiveProfileId() are:
0 - General
1 - Silent
2 - Meeting
3 - Outdoor
4 - Pager
5 – Offline

This page was last modified on 14 June 2012, at 09:19.
51 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×