toggle menu
Brightcove Player SDK for Android 10.1.2
10.1.2
sdk
switch theme
search in API
sdk
/
com.brightcove.player.util
/
ReflectionUtil
Reflection
Util
open
class
ReflectionUtil
Provides utility methods that can be used access and mutate objects using reflection.
Members
Functions
assert
Caller
Annotation
Link copied to clipboard
open
fun
assertCallerAnnotation
(
annotationClass
:
Class
<
out
Annotation
>
,
message
:
String
)
Ensures if the caller of the method calling this method is annotated with the specified annotation.
set
Field
Link copied to clipboard
open
fun
setField
(
source
:
Any
,
fieldName
:
String
,
value
:
Any
)
:
Boolean