Take Screenshot SDK

Capture your app's screen instantly.

Written By despia

Last updated About 1 year ago

Screenshot Features

This SDK enhances sharing by:

  • Capturing current screen

  • Saving to camera roll

  • Enabling quick sharing

  • Supporting user feedback

  • Simplifying documentation

SDK Usage

// Take screenshot
window.despia = "takescreenshot://"

Examples

Basic Capture

function captureScreen() {
    window.despia = "takescreenshot://"
}

Achievement Capture

function saveAchievement() {
    // Show achievement popup
    showAchievement()
    
    // Capture the moment
    window.despia = "takescreenshot://"
}

Support Helper

function reportIssue() {
    // Capture current state
    window.despia = "takescreenshot://"
    
    // Open support form
    openSupportTicket()
}

Tips

  • Consider user privacy

  • Handle sensitive content

  • Test all app states

  • Verify save location

  • Check capture quality


Need help? Email us at support@despia.com