Język

MediaScannerConnection.ScanCompletedEventArgs(String, Uri) Constructor

Definition

Creates scan-completion arguments for the supplied path and result URI.

public ScanCompletedEventArgs(string? path, Android.Net.Uri? uri);
new Android.Media.MediaScannerConnection.ScanCompletedEventArgs : string * Android.Net.Uri -> Android.Media.MediaScannerConnection.ScanCompletedEventArgs

Parameters

path
String

The path of the file that was scanned.

uri
Uri

The file's media-database URI after a successful scan, or null when scanning failed.

Remarks

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