-
public class SnapMediaFactory
Class that's used to create new media files.
-
-
Method Summary
Modifier and Type Method Description SnapVideoFile
getSnapVideoFromFile(File file)
Factory method to create a SnapVideo instance given a video file. SnapPhotoFile
getSnapPhotoFromFile(File file)
Factory method to create a SnapPhoto instance given a photo file. SnapSticker
getSnapStickerFromFile(File file)
Factory method to create a SnapSticker instance given a sticker file.
-
-
-
Method Detail
-
getSnapVideoFromFile
SnapVideoFile getSnapVideoFromFile(File file)
Factory method to create a SnapVideo instance given a video file.
- Parameters:
file
- The video file.
-
getSnapPhotoFromFile
SnapPhotoFile getSnapPhotoFromFile(File file)
Factory method to create a SnapPhoto instance given a photo file.
- Parameters:
file
- The photo file.
-
getSnapStickerFromFile
SnapSticker getSnapStickerFromFile(File file)
Factory method to create a SnapSticker instance given a sticker file.
- Parameters:
file
- The sticker file.
-
-