Skip Navigation

Using the
BlackBerry Spark SDK
API reference

The
BlackBerry Spark SDK
API reference describes how to use the principal interfaces, packages, and classes of the SDK:
The following table highlights key sections of the API reference:
Item
Description
SecurityControl Class Reference
Initializes the
BlackBerry Spark SDK
library within your app so that threats can be detected and alerts can be provided.
AppIdentity Class Reference
Provides a unique app identifier that can be used to determine if the user's session is originating from the same app instance and device when authenticating with the application server.
ThreatStatus Class Reference
Provides details about security threats related to the device, app, network, and user.
ContentChecker Class Reference
Detect potentially malicious URLs or IP addresses to protect users from malicious websites, phishing attempts, malware, adware, and other web sources that pose a threat to your data.
ContentCheckerRules Class Reference
Configure rules that change how the SDK detects malicious URLs and IP addresses.
DeviceChecker Class Reference
Perform security checks on the device to identify potential security risks.
DeviceSecurityRules Class Reference
Control which device security checks are evaluated when enableSecurity or checkDeviceSecurity are called.
DeviceSoftwareRules Class Reference
Configure a check for a minimum
Android
security patch level and OS version. If the device does not meet these requirements it is considered unsafe.
MalwareScanRules Class Reference
Configure rules that control how the SDK detects malware on an
Android
device.
ManageFeatures Class Reference
Retrieve the status of a security feature and enable or disable features.
ManageRules Class Reference
Configure and manage security rules.
Package com.blackberry.security.file
Store app data in the
BlackBerry
secure file system.
Preferences Class Reference
Manage shared preferences in the
BlackBerry
secure data store.
DataCollectionRules Class Reference
Enable anonymous data collection to help
BlackBerry
improve the features of the
BlackBerry Spark SDK
.
Diagnostics Class Reference > void uploadLogs (LogsUploadFinishedListener listener)
Send recent logs to
BlackBerry
support.