net.rim.device.api.unifiedsearch.searchables
Class SearchableContentTypeConstantsInfo

java.lang.Object
  extended by net.rim.device.api.unifiedsearch.searchables.SearchableContentTypeConstantsInfo
All Implemented Interfaces:
SearchableContentTypeConstants

public final class SearchableContentTypeConstantsInfo
extends Object
implements SearchableContentTypeConstants

This class is an extension of SearchableContentTypeConstants and provides APIs to dynamically retrieve generic content types (e.g., all content types, media content types).

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 7.0.0

Field Summary
 
Fields inherited from interface net.rim.device.api.unifiedsearch.searchables.SearchableContentTypeConstants
CONTENT_TYPE_BROWSER, CONTENT_TYPE_CALENDAR, CONTENT_TYPE_CONTACTS, CONTENT_TYPE_DEFAULT_ALL, CONTENT_TYPE_HELP, CONTENT_TYPE_INSTANT_MESSAGE, CONTENT_TYPE_LOCATION, CONTENT_TYPE_MEDIA_DOCUMENTS, CONTENT_TYPE_MEDIA_FILES_ALL, CONTENT_TYPE_MEDIA_MUSIC, CONTENT_TYPE_MEDIA_PICTURES, CONTENT_TYPE_MEDIA_PODCASTS, CONTENT_TYPE_MEDIA_RING_TONES, CONTENT_TYPE_MEDIA_VIDEOS, CONTENT_TYPE_MEDIA_VOICE_NOTES, CONTENT_TYPE_MEMO, CONTENT_TYPE_MESSAGE_EMAIL, CONTENT_TYPE_MESSAGE_MMS, CONTENT_TYPE_MESSAGE_SMS, CONTENT_TYPE_OPTIONS, CONTENT_TYPE_PHONE_CALL_LOG, CONTENT_TYPE_SETUP, CONTENT_TYPE_SOCIAL_NETWORK, CONTENT_TYPE_TASKS, CONTENT_TYPE_UCS_DOCUMENTS, CONTENT_TYPE_VISUAL_VOICEMAIL, CONTENT_TYPE_WEB, NON_RIM_APP
 
Method Summary
Category: Signed static long getAllContentTypes()
          Retrieve all pre-defined content types.
Category: Signed static long getMediaContentTypes()
          Retrieve all pre-defined Media related content types.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Method Detail

getMediaContentTypes

public static final long getMediaContentTypes()
Retrieve all pre-defined Media related content types.

Returns:
a bitwise-or combination of the CONTENT_TYPE_MEDIA_ constants defined in SearchableContentTypeConstants
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 7.0.0

getAllContentTypes

public static final long getAllContentTypes()
Retrieve all pre-defined content types.

Returns:
a bitwise-or combination of the CONTENT_TYPE_ constants defined in SearchableContentTypeConstants.
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 7.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