Using the BlackBerry Spark SDK API reference
BlackBerry Spark SDKAPI reference
The following table highlights key sections of the API reference:
LibraryInit Class Reference
BlackBerry Spark SDKlibrary 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
Androidsecurity 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
ManageFeatures Class Reference
Retrieve the status of a security feature and enable or disable features.
ManageRules Class Reference
Configure and manage security rules.
Store app data in the
BlackBerrysecure file system.
Preferences Class Reference
Manage shared preferences in the
BlackBerrysecure data store.
DataCollectionRules Class Reference
Enable anonymous data collection to help
BlackBerryimprove the features of the
BlackBerry Spark SDK.
Diagnostics Class Reference > void uploadLogs (LogsUploadFinishedListener listener)
Send recent logs to