fromLiveLayout static method

NERoomLiveLayout fromLiveLayout(
  1. int? liveLayout
)

Implementation

static NERoomLiveLayout fromLiveLayout(int? liveLayout) {
  switch (liveLayout) {
    case 2:
      return NERoomLiveLayout.focus;
    case 4:
      return NERoomLiveLayout.screenShare;
    default:
      return NERoomLiveLayout.gallery;
  }
}