getIntent
Gets the Intent used to launch the Activity of a DataClass using query as the search requirement.
Author
Arnau Mora
Since
20210825
Return
Parameters
query
What to search for. May be DataClass.displayName or DataClassMetadata.webURL.
inline suspend fun <A : DataClass<*, *, *>, B : DataRoot<A>> getIntent(context: Context, activity: Class<*>, namespace: Namespace, objectId: String): Intent?
Gets the Intent used to launch the Activity of a DataClass with namespace and if objectId.
Author
Arnau Mora
Since
20220128
Return
Parameters
namespace
The DataClass.namespace of the objectId.
objectId
The DataClass.objectId to search for.