ReportObjectProvider

class ReportObjectProvider(activity: FragmentActivity, lifecycleOwner: LifecycleOwner, reportId: String)

Provides access to objects within a SAS Visual Analytics report.

Since

27.0.0

Parameters

activity
the Activity that will house the report objects.
lifecycleOwner
the owner of the [Lifecycle] that the ReportObjectProvider is tied to.
reportId
the report's ID.

Constructors

Link copied to clipboard
constructor(activity: FragmentActivity, lifecycleOwner: LifecycleOwner, reportId: String)

Functions

Link copied to clipboard
fun loadReportObjects(vararg objectIds: String): List<ReportObject>

Loads the ReportObjects corresponding to the supplied object ids.

Link copied to clipboard
fun unloadReportObjects(vararg objectIds: String)

Unloads the report objects corresponding to the supploed object ids.