Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- val interiorFileState: InExFileState
- get() = computeInExFileState(interiorExportFileMediaUrl,interiorLocalImagePath)
- val exteriorFileState: InExFileState
- get() = computeInExFileState(exteriorExportFileMediaUrl,exteriorLocalVideoPath)
- fun computeInExFileState(exportFileMediaUrl: String?, localPath: String?): InExFileState = when {
- exportFileMediaUrl != null -> InExFileState.REMOTE
- localPath != null -> InExFileState.LOCAL
- else -> InExFileState.NONE
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement