Guest User

Untitled

a guest
May 21st, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. public enum StorageDirectory {
  2. /**
  3. * Directory for saving photos / pictures of movies
  4. */
  5. IMAGE {
  6. @Override
  7. public String getGoogleDirectoryKey() {
  8. return "someKey1";
  9. }
  10. },
  11. /**
  12. * Directory for saving avatars of users
  13. */
  14. AVATAR {
  15. @Override
  16. public String getGoogleDirectoryKey() {
  17. return "someKey2";
  18. }
  19. };
  20.  
  21. /**
  22. * Get the directory key from the Google cloud.
  23. *
  24. * @return The key of the directory in the Google cloud
  25. */
  26. public abstract String getGoogleDirectoryKey();
  27. }
Add Comment
Please, Sign In to add comment