Skip to content
This repository has been archived by the owner on Mar 6, 2018. It is now read-only.

Commit

Permalink
[README] Update PermissionType & PermissionStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshinejr committed Apr 17, 2016
1 parent db561f6 commit 03b09aa
Showing 1 changed file with 19 additions and 15 deletions.
34 changes: 19 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,25 +33,29 @@ Permission

### Available permissions:
```swift
case .Contacts
case .LocationAlways
case .LocationWhenInUse
case .Notifications
case .Microphone
case .Camera
case .Photos
case .Reminders
case .Events
case .Bluetooth
case .Motion
public enum PermissionType {
case Contacts
case LocationAlways
case LocationWhenInUse
case Notifications
case Microphone
case Camera
case Photos
case Reminders
case Events
case Bluetooth
case Motion
}
```

### Available statuses:
```swift
case Authorized
case Denied
case Disabled
case NotDetermined
public enum PermissionStatus {
case Authorized
case Denied
case Disabled
case NotDetermined
}
```

For more info about permissions and statuses, please visit [Permission's README](https://github.com/delba/Permission#permission).
Expand Down

0 comments on commit 03b09aa

Please sign in to comment.