예제 #1
0
 public void setNativeMode(boolean value) {
   nativeMode = value;
   if (nativeMode) {
     mVideoView.setVisibility(View.VISIBLE);
   } else {
     mVideoView.setVisibility(View.GONE);
   }
 }
예제 #2
0
 public void showSurface() {
   if (nativeMode) {
     mVideoView.setVisibility(View.VISIBLE);
   } else {
     mSurfaceView.setVisibility(View.VISIBLE);
   }
 }