net.rim.device.api.drm
Interface DRMRightsInstallCallback


public interface DRMRightsInstallCallback

A DRMCallback is used during DRM rights installation, for notification of completion.

Since:
JDE 4.7.0
See Also:
DRMManager.installRights(String, byte[], DRMRightsInstallCallback)

Field Summary
static int OUTCOME_FAILURE
          Indicates that rights installation failed
static int OUTCOME_SUCCESS
          Indicates that rights installation was successful
static int OUTCOME_UNAVAILABLE
          Indicates that rights installation has not completed
 
Method Summary
 void installOutcome(int outcome)
          Called when the installation of rights has completed, the supplied outcome will indicate whether the installation succeded or failed.
 

Field Detail

OUTCOME_FAILURE

public static final int OUTCOME_FAILURE
Indicates that rights installation failed
Since:
JDE 4.7.0

OUTCOME_SUCCESS

public static final int OUTCOME_SUCCESS
Indicates that rights installation was successful
Since:
JDE 4.7.0

OUTCOME_UNAVAILABLE

public static final int OUTCOME_UNAVAILABLE
Indicates that rights installation has not completed
Since:
JDE 4.7.0
Method Detail

installOutcome

public void installOutcome(int outcome)
Called when the installation of rights has completed, the supplied outcome will indicate whether the installation succeded or failed.
Parameters:
outcome - The outcome of the rights installation.
Since:
JDE 4.7.0
See Also:
OUTCOME_SUCCESS, OUTCOME_FAILURE



Copyright 1999-2009 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.