SASManager
Provides the main entry point into SAS Visual Analytics functionality.
Since
8.30
Types
Properties
Functions
Link copied to clipboard
fun create(descriptor: ConnectionDescriptor, reports: List<ReportDescriptor>?, onConnectionComplete: (SASManager.Result) -> Unit? = null, onSubscribeComplete: (Server.Result) -> Unit? = null)
Creates a connections to a SAS Visual Analytics server.
Link copied to clipboard
fun createFromJson(input: Reader, context: Context, onConnectionComplete: (SASManager.Result) -> Unit? = null, onSubscribeComplete: (Server.Result) -> Unit? = null)
Creates one or more connections to SAS Visual Analytics servers defined in JSON.
Link copied to clipboard
suspend fun createSuspended(descriptor: ConnectionDescriptor, reports: List<ReportDescriptor>?, timeoutMillis: Long = -1): Pair<Server, List<Report>>
Creates a connections to a SAS Visual Analytics server and returns the results, from a coroutine context.
Link copied to clipboard
Gets the subscribed Report, if any, for the given ReportDescriptor.
Gets the subscribed Report, if any, with the defined ID.
Link copied to clipboard
fun getReportObjectProvider(report: Report, activity: FragmentActivity, lifecycleOwner: LifecycleOwner): ReportObjectProvider
Gets the ReportObjectProvider to access report objects within a SAS Visual Analytics report.
Link copied to clipboard
fun openReport(report: Report, startingActivity: FragmentActivity, startSection: String? = null, extras: Bundle? = null)
Performs any required authorization/permission checks, and then opens the given report with the Intent returned from SASManagerContext.viewReportHandler.