net.rim.device.api.drm
Interface DRMRightsInstallCallback


public interface DRMRightsInstallCallback

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

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

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_UNAVAILABLE

static final int OUTCOME_UNAVAILABLE
Indicates that rights installation has not completed

See Also:
Constant Field Values
Since:
BlackBerry API 4.7.0

OUTCOME_SUCCESS

static final int OUTCOME_SUCCESS
Indicates that rights installation was successful

See Also:
Constant Field Values
Since:
BlackBerry API 4.7.0

OUTCOME_FAILURE

static final int OUTCOME_FAILURE
Indicates that rights installation failed

See Also:
Constant Field Values
Since:
BlackBerry API 4.7.0


Method Detail

installOutcome

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.
See Also:
DRMRightsInstallCallback.OUTCOME_SUCCESS, DRMRightsInstallCallback.OUTCOME_FAILURE
Since:
BlackBerry API 4.7.0





Copyright 1999-2010 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. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.