|
1 /* |
|
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Video Telephony specific message services sent from Phone |
|
15 * Application to Video Telephony. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef VIDEOTELCONTROLMEDIATORAPI_H |
|
21 #define VIDEOTELCONTROLMEDIATORAPI_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 |
|
26 /** The category UID for the messages in this header file. */ |
|
27 const TUid KCatPhoneToVideotelCommands = { 0x200159A1 }; |
|
28 |
|
29 /** Version number of this API */ |
|
30 const TInt KPhoneToVideotelCmdVersionMajor( 1 ); |
|
31 const TInt KPhoneToVideotelCmdVersionMinor( 0 ); |
|
32 const TInt KPhoneToVideotelCmdVersionBuild( 0 ); |
|
33 |
|
34 /** package for passing dataport name to Video Telephony */ |
|
35 typedef TPckgBuf<TName> TDataPortPackage; |
|
36 |
|
37 /** Video Telephony related commands. */ |
|
38 enum TPhoneToVideotelCommands |
|
39 { |
|
40 /** |
|
41 * Commands Video Telephony to enable microphone. |
|
42 */ |
|
43 EVtCmdUnmute = 0, |
|
44 |
|
45 /** |
|
46 * Commands Video Telephony to disable microphone. |
|
47 */ |
|
48 EVtCmdMute, |
|
49 |
|
50 /** |
|
51 * Commands Video Telephony to use dataport. Command paramemeter is |
|
52 * TDataPortPackage. This should be called when dataport is loaned. |
|
53 * When this is sent, dataport recovery is allowed only after |
|
54 * 1) later issued EVtCmdShutdown response is received. |
|
55 * 2) call is ended by network/peer (i.e. local phone doesn't do hangup) |
|
56 * 3) EPhoneCmdEndActiveCall command is received (see Mediator Commands To |
|
57 * Telephony API) |
|
58 * Otherwise H.245 (VT) signalling may fail if call is released in two |
|
59 * stage. |
|
60 */ |
|
61 EVtCmdUseDataport, |
|
62 |
|
63 EVtCmdReleaseDataport |
|
64 }; |
|
65 |
|
66 #endif // VIDEOTELCONTROLMEDIATORAPI_H |
|
67 |