|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
NotAuthorizedInterface shall be implemented by classes which can report failure to access broadcast content due to failure to descramble that content. The interface provides an ability for an application to find out some information about the reason for the failure.
Field Summary | |
static int |
COMMERCIAL_DIALOG
Minor reason for POSSIBLE_UNDER_CONDITIONS - user dialog needed for payment |
static int |
ELEMENTARY_STREAM
The component to which access was refused was an MPEG elementary stream |
static int |
FREE_PREVIEW_DIALOG
Minor reason for POSSIBLE_UNDER_CONDITIONS - user dialog needed to explain about free preview. |
static int |
GEOGRAPHICAL_BLACKOUT
Minor reason for NOT_POSSIBLE - not allowed for geographical reasons |
static int |
MATURITY_RATING
Minor reason for NOT_POSSIBLE - user does not have suitable maturity |
static int |
MATURITY_RATING_DIALOG
Minor reason for POSSIBLE_UNDER_CONDITIONS - user dialog needed for maturity |
static int |
NO_ENTITLEMENT
Minor reason for NOT_POSSIBLE - user does not have an entitlement |
static int |
NOT_POSSIBLE
Major reason - access not possible |
static int |
OTHER
Minor reason for both POSSIBLE_UNDER_CONDITIONS and NOT_POSSIBLE. |
static int |
POSSIBLE_UNDER_CONDITIONS
Major reason - access may be possible under certain conditions. |
static int |
SERVICE
The component to which access was refused was a MPEG Program/DVB Service |
static int |
TECHNICAL
Minor reason for NOT_POSSIBLE - a technical reason of some kind |
static int |
TECHNICAL_DIALOG
Minor reason for POSSIBLE_UNDER_CONDITIONS - user dialog needed for technical purposes. |
Method Summary | |
ElementaryStream[] |
getElementaryStreams()
If getType() returns ELEMENTARY_STREAM, then this method returns the set of ElementaryStreams that could not be descrambled. |
int[] |
getReason(int index)
Returns the reason(s) why descrambling was not possible. |
Service |
getService()
If getType() returns SERVICE, then this method returns the Service that could not be descrambled. |
int |
getType()
|
Field Detail |
public static final int POSSIBLE_UNDER_CONDITIONS
public static final int NOT_POSSIBLE
public static final int COMMERCIAL_DIALOG
public static final int MATURITY_RATING_DIALOG
public static final int TECHNICAL_DIALOG
public static final int FREE_PREVIEW_DIALOG
public static final int NO_ENTITLEMENT
public static final int MATURITY_RATING
public static final int TECHNICAL
public static final int GEOGRAPHICAL_BLACKOUT
public static final int OTHER
public static final int SERVICE
getType()
,
Constant Field Valuespublic static final int ELEMENTARY_STREAM
getType()
,
Constant Field ValuesMethod Detail |
public int getType()
public Service getService()
public ElementaryStream[] getElementaryStreams()
public int[] getReason(int index) throws java.lang.IndexOutOfBoundsException
index
- If the component to which access failed is a Service,
index shall be 0. Otherwise index shall refer to one stream in the
set returnedby getElementaryStreams().
java.lang.IndexOutOfBoundsException
- If the component to which access
failed is a Service, this exception will be thrown if index is non zero.
If the component(s) to which access failed was a (set of) elementary
streams then this exception will be thrown where index is beyond the
size of the array returned by getElementaryStreams.getElementaryStreams()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |