safeLongToInt

open fun safeLongToInt(l: Long): Int

Helper method for converting the long values from the ExoPlayer into ints that will work with the Brightcove SDK.

Return

the safely converted long value as an integer, or Integer.MIN_VALUE if the input value can not be safely converted

Parameters

l

the long value to be converted.