putOrientationExtra Function

fun Intent.putOrientationExtra(name: String, orientation: ScanOrientation): Intent

Stores an orientation in this intent, so it survives being passed between screens.

Parameters

  • name — the extra name
  • orientation — the orientation to store
Top