Share via


StorageManager.RegisterStorageVolumeCallback Method

Definition

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
Attributes

Remarks

Java documentation for android.os.storage.StorageManager.registerStorageVolumeCallback(java.util.concurrent.Executor, android.os.storage.StorageVolumeCallback).

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