net9.0-android
namespace Java.Util.Concurrent.Locks
{
    [Register("java/util/concurrent/locks/ReentrantLock", DoNotGenerateAcw = true)]
    public class ReentrantLock : Object, IJavaObject, IJavaPeerable, ISerializable, ILock, IDisposable
    {
        [Register("tryLock", "(JLjava/util/concurrent/TimeUnit;)Z", "GetTryLock_JLjava_util_concurrent_TimeUnit_Handler")]
        public virtual bool TryLock(long timeout, TimeUnit? unit);
    }
}
Assembly Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065
Help Documentation
.NET 6.0-android7.0-android8.0-android9.0-android
Xamarin Android 0.0
OS Platforms

For the selected framework this API is only supported on the following OS platforms:

  • Android >= 21
  • Built-in API
  • Package-provided API

04/18/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙