createShortsView
fun createShortsView(context: Context, jsonUrl: String?, options: Map<String, Any?>? = null): BBNativeShortsView
Create a Shorts view
context: the view context. Should be of type AppCompatActivity for fullscreen functionality
jsonUrl: the json embed URL (nullable)
options: the options dictionary (optional), options recognized:
displayFormat: full | list | player
Return
the Shorts view
Parameters
context
the view context
jsonUrl
the json embed URL (nullable)
options
the options dictionary (optional)