Usage
Media Services allows camera capture, gallery selection, and image saving on mobile devices
Table of Contents
Understanding Core Concepts
Media Content Types
Permission Modes
IMediaContent Interface
Import Namespaces
How Permissions Work
Optional: Check Permission Status
Selecting Media from Gallery
Why Gallery Selection is Needed
Basic Image Selection
Multiple Selection
Selecting Videos
Custom MIME Type Selection
Capturing Media with Camera
Why Camera Capture is Needed
Capturing a Photo
Capturing a Video
Advanced Capture Options
Saving Media to Gallery
Why Saving Media is Needed
Saving a Screenshot
Saving Without Custom Album
Working with IMediaContent
Convert to Texture2D
Convert to File Path
Get Raw Media Data
Data Properties
Item
Type
Notes
Core APIs Reference
API
Purpose
Returns
Error Handling
Error Code
Trigger
Recommended Action
Advanced: Manual Initialization
Understanding Manual Initialization
Implementation
Related Guides
Last updated