次の方法で共有


MediaStore.PickerMediaColumns.Data Field

Definition

This is identical to MediaColumns#DATA, however, apps should not assume that the file is always available because the file may be backed by a CloudMediaProvider fetching content over a network.

[Android.Runtime.Register("DATA", ApiSince=33)]
public const string Data;
[<Android.Runtime.Register("DATA", ApiSince=33)>]
val mutable Data : string

Field Value

Attributes

Remarks

This is identical to MediaColumns#DATA, however, apps should not assume that the file is always available because the file may be backed by a CloudMediaProvider fetching content over a network. Therefore, apps must be prepared to handle any additional file-based I/O errors that could occur as a result of network errors.

Java documentation for android.provider.MediaStore.PickerMediaColumns.DATA.

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.

Applies to