Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. val interiorFileState: InExFileState
  2. get() = computeInExFileState(interiorExportFileMediaUrl,interiorLocalImagePath)
  3.  
  4. val exteriorFileState: InExFileState
  5. get() = computeInExFileState(exteriorExportFileMediaUrl,exteriorLocalVideoPath)
  6.  
  7. fun computeInExFileState(exportFileMediaUrl: String?, localPath: String?): InExFileState = when {
  8. exportFileMediaUrl != null -> InExFileState.REMOTE
  9. localPath != null -> InExFileState.LOCAL
  10. else -> InExFileState.NONE
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement