java.lang.Object | |||
↳ | java.util.Observable | ||
↳ | fm.audiobox.core.models.Model | ||
↳ | fm.audiobox.core.models.Permissions |
A user can subscribe and manage multiple remote storage services.
This hash defines the boolean permissions the user has access to, depending on subscription state if it's a paid feature. In case the User has been created through a Partner it will inherit permissions depending on the Partner requested features. Such attributes are automatically set by the system and cannot be changed manually.Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | BOX | ||||||||||
String | CLOUD | ||||||||||
String | DROPBOX | ||||||||||
String | |||||||||||
String | GDRIVE | ||||||||||
String | LASTFM | ||||||||||
String | LOCAL | ||||||||||
String | LYRICS | ||||||||||
String | MEGA | ||||||||||
String | PLAYER | ||||||||||
String | SKYDRIVE | ||||||||||
String | SONGKICK | ||||||||||
String | SOUNDCLOUD | ||||||||||
String | TWITCHTV | ||||||||||
String | |||||||||||
String | YOUTUBE |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Permissions() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
hasBox()
Checks if user can access the Box feature.
| ||||||||||
boolean |
hasCloud()
Checks if user can access the AudioBox Cloud feature.
| ||||||||||
boolean |
hasDropbox()
Checks if user can access the Dropbox feature.
| ||||||||||
boolean |
hasFacebook()
Checks if user can access the Facebook feature.
| ||||||||||
boolean |
hasGdrive()
Checks if user can access the Google Drive feature.
| ||||||||||
boolean |
hasLastfm()
Checks if user can access the Last.fm feature.
| ||||||||||
boolean |
hasLocal()
Checks if user can access the AudioBox Desktop feature.
| ||||||||||
boolean |
hasLyrics()
Checks if user can access the lyrics feature.
| ||||||||||
boolean |
hasMega()
Checks if user can access the Mega feature.
| ||||||||||
boolean |
hasPlayer()
Checks if user can access the Cloud Web Player.
| ||||||||||
boolean |
hasSkydrive()
Checks if user can access the SkyDrive feature.
| ||||||||||
boolean |
hasSongkick()
Checks if user can access the Songkick feature.
| ||||||||||
boolean |
hasSoundcloud()
Checks if user can access the Soundcloud feature.
| ||||||||||
boolean |
hasTwitchtv()
Checks if user can access the Twitch.tv feature.
| ||||||||||
boolean |
hasTwitter()
Checks if user can access the Twitter feature.
| ||||||||||
boolean |
hasYoutube()
Checks if user can access the YouTube feature.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
fm.audiobox.core.models.Model
| |||||||||||
From class
java.util.Observable
| |||||||||||
From class
java.lang.Object
|
Checks if user can access the Box feature.
Checks if user can access the AudioBox Cloud feature.
Checks if user can access the Dropbox feature.
Checks if user can access the Facebook feature.
Checks if user can access the Google Drive feature.
Checks if user can access the Last.fm feature.
Checks if user can access the AudioBox Desktop feature.
Checks if user can access the lyrics feature.
Checks if user can access the Mega feature.
Checks if user can access the Cloud Web Player.
Checks if user can access the SkyDrive feature.
Checks if user can access the Songkick feature.
Checks if user can access the Soundcloud feature.
Checks if user can access the Twitch.tv feature.
Checks if user can access the Twitter feature.
Checks if user can access the YouTube feature.