Dela via


UserManager.IsUserAGoat Property

Definition

Used to determine whether the user making this call is subject to teleportations.

public virtual bool IsUserAGoat { [Android.Runtime.Register("isUserAGoat", "()Z", "GetIsUserAGoatHandler")] get; }
[<get: Android.Runtime.Register("isUserAGoat", "()Z", "GetIsUserAGoatHandler")>]
member this.IsUserAGoat : bool

Property Value

Returns whether the user making this call is a goat.

Attributes

Remarks

Used to determine whether the user making this call is subject to teleportations.

As of android.os.Build.VERSION_CODES#LOLLIPOP, this method can now automatically identify goats using advanced goat recognition technology.

As of android.os.Build.VERSION_CODES#R, this method always returns false in order to protect goat privacy.

Java documentation for android.os.UserManager.isUserAGoat().

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