-
public class SnapMediaFactoryClass that's used to create new media files.
-
-
Method Summary
Modifier and Type Method Description SnapVideoFilegetSnapVideoFromFile(File file)Factory method to create a SnapVideo instance given a video file. SnapPhotoFilegetSnapPhotoFromFile(File file)Factory method to create a SnapPhoto instance given a photo file. SnapStickergetSnapStickerFromFile(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.
-
-
-
-