1.0.0 • Published 9 months ago

@guilhermeabreudev/capacitor-system-sounds v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@guilhermeabreudev/capacitor-system-sounds

Listagem de sistema padrão do sistema

Install

npm install @guilhermeabreudev/capacitor-system-sounds
npx cap sync

API

getSystemSounds(...)

getSystemSounds(configSystemSound: { type: SystemSoundsType; }) => Promise<{ sounds: { title: string; uri: string; }[]; }>
ParamType
configSystemSound{ type: SystemSoundsType; }

Returns: Promise<{ sounds: { title: string; uri: string; }[]; }>


salveSoundLocation(...)

salveSoundLocation(systemSound: { uri: string; name: string; }) => Promise<{ filePath: string; }>
ParamType
systemSound{ uri: string; name: string; }

Returns: Promise<{ filePath: string; }>


Enums

SystemSoundsType

MembersValue
RINGTONE1
NOTIFICATION2
ALARM4
ALL7
1.0.0

9 months ago