Package-level declarations

Properties

Link copied to clipboard
const val DEFAULT_SIZE: Double = 10.0
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val TYPE_SECONDS: String

Functions

Link copied to clipboard
fun <Error class: unknown class>.fadeIn(durationMillis: Long = 500, showAnimation: Boolean = true)

fadeIn is an extension function that start an Fade In animation in a view when is called

Link copied to clipboard
fun <Error class: unknown class>.fadeOut(durationMillis: Long = 500, showAnimation: Boolean = true)

fadeOut is an extension function that start an Fade Out animation in a view when is called

Link copied to clipboard
fun String.getAnnotationTime(annotationMap: Map<String?, Time?>?): Long

getAnnotationTime return the time in milliseconds depending if the annotation has and id to jump to another annotation or an specific time

Link copied to clipboard
fun BaseVideoView.getCalculateSize(width: String?, height: String?): <Error class: unknown class><Int, Int>

getCalculateSize is an extension function that return the correct Sizes from an element taking the BaseVideoView width and height as 100%

Link copied to clipboard

Return the project data from an annotation

Link copied to clipboard
fun BaseVideoView.getScreenLayoutParams(top: String?, left: String?, width: Int? = 0, height: Int? = 0): <Error class: unknown class>?

getScreenLayoutParams is an extension function that get the position (top, left) as a percentage from the API and return the layout parameters taking the BaseVideoView width and height as 100% if it is an image or layout will also receive the width and height to add the sizes

Link copied to clipboard
fun BaseVideoView.getScreenSizes(): <Error class: unknown class><Int, Int>

getScreenSizes() extension function that returns a Pair of height and width to be used in getScreenLayoutParams() and getCalculateSize()

Link copied to clipboard

getTimeMap is an extension function that return a Map from the annotation list with the id and the startTime only

Link copied to clipboard
fun String.goToLik(context: <Error class: unknown class>)

goToLik extension function that executes an Intent to open an URL

Link copied to clipboard
Link copied to clipboard

jumpTo is an extension function that emit the SEEK_TO event

Link copied to clipboard
fun <Error class: unknown class>.load(url: String?, centerCrop: Boolean = true, fit: Boolean = true)

goToLik extension function that loads an image inside the ImageView

Link copied to clipboard
fun Popcorn.logNullValues(tag: String, annotationId: String)
Link copied to clipboard
fun Time.toMillis(videoDuration: Long?): Double