Package com.vdocipher.aegis.ui.view
        Class VdoPlayerUIFragment
- 
                    
                    - All Implemented Interfaces:
- 
                            
                            android.content.ComponentCallbacks,android.view.View.OnCreateContextMenuListener,androidx.activity.result.ActivityResultCaller,androidx.lifecycle.HasDefaultViewModelProviderFactory,androidx.lifecycle.LifecycleOwner,androidx.lifecycle.ViewModelStoreOwner,androidx.savedstate.SavedStateRegistryOwner,com.vdocipher.aegis.cast.CastSessionAvailabilityListener
 
 public class VdoPlayerUIFragment extends Fragment implements CastSessionAvailabilityListener 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public interfaceVdoPlayerUIFragment.OnSaveOfflineListenerV2public interfaceVdoPlayerUIFragment.OnSaveOfflineListener
 - 
                                
                            
                                Constructor SummaryConstructors Constructor Description VdoPlayerUIFragment()
 - 
                                
                            
                                Method SummaryModifier and Type Method Description voidonCreate(@Nullable() Bundle savedInstanceState)voidonInflate(@NonNull() Context context, @NonNull() AttributeSet attrs, @Nullable() Bundle savedInstanceState)ViewonCreateView(@NonNull() LayoutInflater inflater, @Nullable() ViewGroup container, Bundle savedInstanceState)voidonViewCreated(@NonNull() View view, @Nullable() Bundle savedInstanceState)voidonViewStateRestored(@Nullable() Bundle savedInstanceState)voidonStart()voidonStop()voidonSaveInstanceState(@NonNull() Bundle outState)voidonConfigurationChanged(Configuration newConfig)voidonBackPressed()voidinitialize(PlayerHost.InitializationListener initializationListener)voidsetAspectRatio(float widthToHeightRatio)Set aspect ratio for the fragment view. intgetVideoStretchMode()Return currently set video stretch mode. voidsetVideoStretchMode(int videoStretchMode)Set stretch mode for video scaling inside the fragment layout. intgetResizeMode()Returns the resize mode. voidsetResizeMode(int resizeMode)Sets the resize mode. voidonResume()voidonPause()voidonCastSessionAvailable()Called when a cast session is available. voidonCastSessionUnavailable()Called when the cast session is not available. voidaddOnSavedOfflineListener(VdoPlayerUIFragment.OnSaveOfflineListener onSaveOfflineListener)voidaddOnSavedOfflineListenerV2(VdoPlayerUIFragment.OnSaveOfflineListenerV2 onSaveOfflineListenerV2)Set callback to listen save offline event and provide persistent Token to download video. voidonPictureInPictureModeChanged(boolean isInPictureInPictureMode)voidsetPictureInPictureSupport(boolean supportsPictureInPicture)Set support for picture in picture mode. voidenterFullScreen()Set support for fullscreen mode of the player. voidexitFullScreen()Set support to exit form fullscreen mode of the player. voidsetBackPressCalled()Set support to handle back press. voidsetFullscreenActionListener(FullScreenActionListener fullScreenActionListener)- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        onInflatevoid onInflate(@NonNull() Context context, @NonNull() AttributeSet attrs, @Nullable() Bundle savedInstanceState) 
 - 
                                        onCreateView@Nullable() View onCreateView(@NonNull() LayoutInflater inflater, @Nullable() ViewGroup container, Bundle savedInstanceState) 
 - 
                                        onViewCreatedvoid onViewCreated(@NonNull() View view, @Nullable() Bundle savedInstanceState) 
 - 
                                        onViewStateRestoredvoid onViewStateRestored(@Nullable() Bundle savedInstanceState) 
 - 
                                        onStartvoid onStart() 
 - 
                                        onStopvoid onStop() 
 - 
                                        onSaveInstanceStatevoid onSaveInstanceState(@NonNull() Bundle outState) 
 - 
                                        onConfigurationChangedvoid onConfigurationChanged(Configuration newConfig) 
 - 
                                        onBackPressed@Deprecated() void onBackPressed() 
 - 
                                        initializevoid initialize(PlayerHost.InitializationListener initializationListener) 
 - 
                                        setAspectRatiovoid setAspectRatio(float widthToHeightRatio) Set aspect ratio for the fragment view. The dimension (width or height) that is fixed in layout will be kept and the other dimension will be increased or decreased to match the aspect ratio. - Parameters:
- widthToHeightRatio- the desired aspect ratio
 
 - 
                                        getVideoStretchMode@Deprecated() int getVideoStretchMode() Return currently set video stretch mode. 
 - 
                                        setVideoStretchMode@Deprecated() void setVideoStretchMode(int videoStretchMode) Set stretch mode for video scaling inside the fragment layout. - Parameters:
- videoStretchMode- one of PlayerHost.
 
 - 
                                        getResizeModeint getResizeMode() Returns the resize mode. 
 - 
                                        setResizeModevoid setResizeMode(int resizeMode) Sets the resize mode. - Parameters:
- resizeMode- The resize mode.
 
 - 
                                        onResumevoid onResume() 
 - 
                                        onPausevoid onPause() 
 - 
                                        onCastSessionAvailablevoid onCastSessionAvailable() Called when a cast session is available. 
 - 
                                        onCastSessionUnavailablevoid onCastSessionUnavailable() Called when the cast session is not available. 
 - 
                                        addOnSavedOfflineListenervoid addOnSavedOfflineListener(VdoPlayerUIFragment.OnSaveOfflineListener onSaveOfflineListener) 
 - 
                                        addOnSavedOfflineListenerV2void addOnSavedOfflineListenerV2(VdoPlayerUIFragment.OnSaveOfflineListenerV2 onSaveOfflineListenerV2) Set callback to listen save offline event and provide persistent Token to download video. - Parameters:
- onSaveOfflineListenerV2- OnSaveOfflineListenerV2
 
 - 
                                        onPictureInPictureModeChangedvoid onPictureInPictureModeChanged(boolean isInPictureInPictureMode) 
 - 
                                        setPictureInPictureSupport@Deprecated() void setPictureInPictureSupport(boolean supportsPictureInPicture) Set support for picture in picture mode. 
 - 
                                        enterFullScreenvoid enterFullScreen() Set support for fullscreen mode of the player. 
 - 
                                        exitFullScreenvoid exitFullScreen() Set support to exit form fullscreen mode of the player. 
 - 
                                        setBackPressCalledvoid setBackPressCalled() Set support to handle back press. 
 - 
                                        setFullscreenActionListenervoid setFullscreenActionListener(FullScreenActionListener fullScreenActionListener) 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-