反射基本用法

Field videoMediaLogic =mVlcVideoView.getClass().getDeclaredField("videoMediaLogic");

videoMediaLogic.setAccessible(true);

VlcVideoPlayer vlcVideoPlayer = (VlcVideoPlayer) videoMediaLogic.get(mVlcVideoView);

你可能感兴趣的:(反射基本用法)