MediaScannerConnection.Connect Method
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.
Initiates a connection to the media scanner service.
[Android.Runtime.Register("connect", "()V", "GetConnectHandler")]
public virtual void Connect ();
[<Android.Runtime.Register("connect", "()V", "GetConnectHandler")>]
abstract member Connect : unit -> unit
override this.Connect : unit -> unit
- Attributes
Remarks
Initiates a connection to the media scanner service. MediaScannerConnectionClient#onMediaScannerConnected()
will be called when the connection is established.
Java documentation for android.media.MediaScannerConnection.connect()
.
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.