Compartilhar via


StorageManager.RegisterStorageVolumeCallback Método

Definição

Registra o retorno de chamada fornecido para ouvir StorageVolume as alterações.

[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

Parâmetros

executor
IExecutor
Atributos

Comentários

Documentação Java para android.os.storage.StorageManager.registerStorageVolumeCallback(java.util.concurrent.Executor, android.os.storage.StorageVolumeCallback).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Android Open Source Project e usado de acordo com os termos descritos na Creative Commons 2.5 Attribution License.

Aplica-se a