toolkit / com.sas.android.visualanalytics.sdk / SASManagerContext

SASManagerContext

class SASManagerContext

Provides hooks and configuration for common SAS Visual Analytics actions. Used to initialize a SASManager instance.

Since
8.30

Constructors

<init>

SASManagerContext()

Provides hooks and configuration for common SAS Visual Analytics actions. Used to initialize a SASManager instance.

Properties

fileHandler

var fileHandler: FileHandler?

The FileHandler to use for all file I/O throughout the app, or null to use a default (direct) implementation. Some mobile device management (MDM) APIs might require a custom FileHandler to tightly control file I/O.

httpHandler

var httpHandler: HttpHandler?

The HttpHandler to handle all HTTP/HTTPS traffic in the app, or null to use a default implementation. Some mobile device management (MDM) APIs might require a custom HttpHandler to tightly control network I/O.

interceptWebViews

var interceptWebViews: Boolean

True to intercept and redirect all I/O requests from WebViews through the HttpHandler, or false to instruct the WebViews to load network requests directly.

shareHandler

var shareHandler: ShareHandler?

The ShareHandler to share data from the app, or null to use the default OS mechanisms to share data. Some mobile device management (MDM) APIs might require a custom ShareHandler to tightly control data sharing.

sharedPreferences

var sharedPreferences: SharedPreferences?

The shared preferences to use throughout the app, or null to use the default SharedPreferences. Some mobile device management (MDM) APIs might require a SharedPreferences instance with tightly controlled I/O.

viewReportHandler

lateinit var viewReportHandler: (context: Context, reportId: String, extras: Bundle?) -> Intent

The function to create an Intent to view a report for a given ID. This Intent will most typically launch a separate activity to view the report:

Copyright © 2018 by SAS Institute Inc., Cary, NC, USA. All Rights Reserved.