Instrumentation.AcquireLooperManager(Looper) Method
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.
Takes control of the execution of messages on the specified looper until
TestLooperManager#release
is called.
[Android.Runtime.Register("acquireLooperManager", "(Landroid/os/Looper;)Landroid/os/TestLooperManager;", "GetAcquireLooperManager_Landroid_os_Looper_Handler", ApiSince=26)]
public virtual Android.OS.TestLooperManager? AcquireLooperManager(Android.OS.Looper? looper);
[<Android.Runtime.Register("acquireLooperManager", "(Landroid/os/Looper;)Landroid/os/TestLooperManager;", "GetAcquireLooperManager_Landroid_os_Looper_Handler", ApiSince=26)>]
abstract member AcquireLooperManager : Android.OS.Looper -> Android.OS.TestLooperManager
override this.AcquireLooperManager : Android.OS.Looper -> Android.OS.TestLooperManager
- looper
- Looper
- Attributes
Takes control of the execution of messages on the specified looper until TestLooperManager#release
is called.
Java documentation for android.app.Instrumentation.acquireLooperManager(android.os.Looper)
.
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.
Produkt | Versioner |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |