prepare Sound Annotation For Sharing
open fun prepareSoundAnnotationForSharing(@NonNull context: Context, @NonNull soundAnnotation: SoundAnnotation): Single<Uri>
Extracts audio data embedded in a SoundAnnotation to a directory backed by . Audio data is written as a WAV file.
- Scheduler:
- Method does not operate by default on a particular Scheduler.
Return
Single emitting Uri that can be used for sharing the sound annotation to other apps or an error if the audio data could not be exported.
Parameters
sound Annotation
Sound annotation that should be shared.
open fun prepareSoundAnnotationForSharing(@NonNull context: Context, @NonNull soundAnnotation: SoundAnnotation, @Nullable fileName: String): Single<Uri>
Extracts audio data embedded in a SoundAnnotation to a directory backed by . Audio data is written as a WAV file.
- Scheduler:
- Method does not operate by default on a particular Scheduler.
Return
Single emitting Uri that can be used for sharing the sound annotation to other apps or an error if the audio data could not be exported.
Parameters
sound Annotation
Sound annotation that should be shared.
file Name
Optional file name used for sharing the wave file (this is the shared file name as seen by other apps).