StorageManager.RegisterStorageVolumeCallback 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.
Registers the given callback to listen for StorageVolume
changes.
[Android.Runtime.Register("registerStorageVolumeCallback", "(Ljava/util/concurrent/Executor;Landroid/os/storage/StorageManager$StorageVolumeCallback;)V", "GetRegisterStorageVolumeCallback_Ljava_util_concurrent_Executor_Landroid_os_storage_StorageManager_StorageVolumeCallback_Handler", ApiSince=30)]
public virtual void RegisterStorageVolumeCallback (Java.Util.Concurrent.IExecutor executor, Android.OS.Storage.StorageManager.StorageVolumeCallback callback);
[<Android.Runtime.Register("registerStorageVolumeCallback", "(Ljava/util/concurrent/Executor;Landroid/os/storage/StorageManager$StorageVolumeCallback;)V", "GetRegisterStorageVolumeCallback_Ljava_util_concurrent_Executor_Landroid_os_storage_StorageManager_StorageVolumeCallback_Handler", ApiSince=30)>]
abstract member RegisterStorageVolumeCallback : Java.Util.Concurrent.IExecutor * Android.OS.Storage.StorageManager.StorageVolumeCallback -> unit
override this.RegisterStorageVolumeCallback : Java.Util.Concurrent.IExecutor * Android.OS.Storage.StorageManager.StorageVolumeCallback -> unit
Parameters
- executor
- IExecutor
- callback
- StorageManager.StorageVolumeCallback
- Attributes
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.