get static method

NELiveAuthLevel get(
  1. int mode
)

Implementation

static NELiveAuthLevel get(int mode) {
  switch (mode) {
    case normal:
      return NELiveAuthLevel.normal;
    case token:
      return NELiveAuthLevel.token;
    case appToken:
      return NELiveAuthLevel.appToken;
    default:
      return NELiveAuthLevel.normal;
  }
}