/** * Set the video track. * * @return true on success. */ public boolean setVideoTrack(int index) { /* Don't activate a video track is surfaces are not ready */ if (index == -1 || (mWindow.areViewsAttached() && !mWindow.areSurfacesWaiting())) { return nativeSetVideoTrack(index); } else return false; }
/** * Set the video track. * * @return true on success. */ public boolean setVideoTrack(int index) { /* Don't activate a video track is surfaces are not ready */ if (index == -1 || (mWindow.areViewsAttached() && !mWindow.areSurfacesWaiting())) { return nativeSetVideoTrack(index); } else return false; }
/** * Set the video track. * * @return true on success. */ public boolean setVideoTrack(int index) { /* Don't activate a video track is surfaces are not ready */ if (index == -1 || (mWindow.areViewsAttached() && !mWindow.areSurfacesWaiting())) { return nativeSetVideoTrack(index); } else return false; }
/** * Set the video track. * * @return true on success. */ public boolean setVideoTrack(int index) { /* Don't activate a video track is surfaces are not ready */ if (index == -1 || (mWindow.areViewsAttached() && !mWindow.areSurfacesWaiting())) { return nativeSetVideoTrack(index); } else return false; }
/** * Set the video track. * * @return true on success. */ public boolean setVideoTrack(int index) { /* Don't activate a video track is surfaces are not ready */ if (index == -1 || (mWindow.areViewsAttached() && !mWindow.areSurfacesWaiting())) { return nativeSetVideoTrack(index); } else return false; }