![]() |
MHEG5
22.3.0
|
Key press interface with MHEG5 engine. More...
#include "techtype.h"
Go to the source code of this file.
Functions | |
BOOLEAN | MHEG5_NotifyKeyPress (E_MHEG5_KEY key) |
Notify MHEG5 engine of a key press. If FALSE is returned, the external application may use the key. More... | |
BOOLEAN | MHEG5_IsKeyNeeded (E_MHEG5_KEY key) |
Enquire from MHEG5 engine about whether a key is needed, without actually passing the key to it. More... | |
BOOLEAN | MHEG5_IsPromotionalLinkingEnabled (void) |
This function is relevant to PVR products that support NativeApplicationExtension for broadcast-triggered native applications, The returned state indicates whether MHEG group 3 keys (CANCEL, RED, GREEN, YELLOW, BLUE, TEXT) may be intercepted by the external application for promotional linking. Only when the state is set to TRUE, can group 3 keys be used for broadcast-triggered native application. If the key is not consumed for this purpose, then it must be presented to MHEG5_NotifyKeyPress(), as normal. More... | |
void | MHEG5_KeySupportDisabled (E_MHEG5_KEY key) |
Inform MHEG5 engine that key is not supported by the platform or product. By default MHEG5 engine assumes all keys are supported. Call this function after MHEG5_Open(). More... | |
void | MHEG5_KeySupportEnabled (E_MHEG5_KEY key) |
Key press support is enabled. May be called after the key has been disabled by MHEG5_KeySupportDisabled() More... | |
Key press interface with MHEG5 engine.
BOOLEAN MHEG5_IsKeyNeeded | ( | E_MHEG5_KEY | key | ) |
Enquire from MHEG5 engine about whether a key is needed, without actually passing the key to it.
key | Value of Key press |
BOOLEAN MHEG5_IsPromotionalLinkingEnabled | ( | void | ) |
This function is relevant to PVR products that support NativeApplicationExtension for broadcast-triggered native applications, The returned state indicates whether MHEG group 3 keys (CANCEL, RED, GREEN, YELLOW, BLUE, TEXT) may be intercepted by the external application for promotional linking. Only when the state is set to TRUE, can group 3 keys be used for broadcast-triggered native application. If the key is not consumed for this purpose, then it must be presented to MHEG5_NotifyKeyPress(), as normal.
void MHEG5_KeySupportDisabled | ( | E_MHEG5_KEY | key | ) |
Inform MHEG5 engine that key is not supported by the platform or product. By default MHEG5 engine assumes all keys are supported. Call this function after MHEG5_Open().
key | Value of Key press |
void MHEG5_KeySupportEnabled | ( | E_MHEG5_KEY | key | ) |
Key press support is enabled. May be called after the key has been disabled by MHEG5_KeySupportDisabled()
key | Value of Key press |
BOOLEAN MHEG5_NotifyKeyPress | ( | E_MHEG5_KEY | key | ) |
Notify MHEG5 engine of a key press. If FALSE is returned, the external application may use the key.
key | Value of Key press |