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