Implementation
@override
String get statusMessage {
String ret = "";
switch (state) {
case PermissionViewState.Granted:
case PermissionViewState.Limited:
ret = "허용됨";
break;
case PermissionViewState.Init:
case PermissionViewState.Denied:
case PermissionViewState.PermanentlyDenied:
ret = "해당 권한을 허용해주세요.";
break;
case PermissionViewState.Error:
ret = errorDescription;
break;
case PermissionViewState.Disabled:
case PermissionViewState.Restricted:
ret = "사용 불가능합니다.";
break;
default:
break;
}
return ret;
}