Interface OnActivityFlipListener


public interface OnActivityFlipListener
Listener that will notify you when activity flip has occurred.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when activity is flipped.
  • Method Details

    • onActivityFlip

      @MainThread void onActivityFlip()
      Called when activity is flipped. This can happen if your activity is in sensor or user orientation mode and landscape to reverse landscape or portrait to reverse portrait or vice versa orientation change has occurred. Normally, Android will not give you any notification when this orientation change occurs, so SDK automatically detects that and with this listener informs you of such event.