net.rim.device.api.unifiedsearch.registry
Class RegistrationToken

java.lang.Object
  extended by net.rim.device.api.unifiedsearch.registry.RegistrationToken

public final class RegistrationToken
extends Object

A unique token assigned to an application during registration in the Unified Search Framework. Used when an application registers content. See AppContentManager for more information.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 6.0.0

Method Summary
Category: Signed  long getRegistrationKey()
          Returns the registration key assigned to the application.
Category: Signed  boolean isValid()
          Returns the validity of this token.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Method Detail

isValid

public boolean isValid()
Returns the validity of this token.

Returns:
true if the token is valid; false otherwise.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 6.0.0

getRegistrationKey

public long getRegistrationKey()
Returns the registration key assigned to the application.

Returns:
The registration key.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 6.0.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal