MediaStore.ExtraAcceptOriginalMediaFormat Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specify that the caller wants to receive the original media format without transcoding.
[Android.Runtime.Register("EXTRA_ACCEPT_ORIGINAL_MEDIA_FORMAT", ApiSince=31)]
public const string ExtraAcceptOriginalMediaFormat;
[<Android.Runtime.Register("EXTRA_ACCEPT_ORIGINAL_MEDIA_FORMAT", ApiSince=31)>]
val mutable ExtraAcceptOriginalMediaFormat : string
Field Value
- Attributes
Remarks
Specify that the caller wants to receive the original media format without transcoding.
<b>Caution: using this flag can cause app compatibility issues whenever Android adds support for new media formats.</b> Clients should instead specify their supported media capabilities explicitly in their manifest or with the #EXTRA_MEDIA_CAPABILITIES
open
flag.
This option is useful for apps that don't attempt to parse the actual byte contents of media files, such as playback using MediaPlayer
or for off-device backup. Note that the android.Manifest.permission#ACCESS_MEDIA_LOCATION
permission will still be required to avoid sensitive metadata redaction, similar to #setRequireOriginal(Uri)
. </ul>
Note that this flag overrides any explicitly declared media_capabilities.xml
or ApplicationMediaCapabilities
extras specified in the same open
request.
This option can be added to the opts
Bundle
in various ContentResolver
open
methods.
Java documentation for android.provider.MediaStore.EXTRA_ACCEPT_ORIGINAL_MEDIA_FORMAT
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.