次の方法で共有


WifiManager.WifiLock.SetReferenceCounted(Boolean) Method

Definition

Controls whether this is a reference-counted or non-reference-counted WifiLock.

[Android.Runtime.Register("setReferenceCounted", "(Z)V", "GetSetReferenceCounted_ZHandler")]
public virtual void SetReferenceCounted (bool refCounted);
[<Android.Runtime.Register("setReferenceCounted", "(Z)V", "GetSetReferenceCounted_ZHandler")>]
abstract member SetReferenceCounted : bool -> unit
override this.SetReferenceCounted : bool -> unit

Parameters

refCounted
Boolean

true if this WifiLock should keep a reference count

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.

Applies to