Lingua

UserManager.SetRestrictionsChallenge(String) Metodo

Definizione

Attenzione

deprecated

Imposta un nuovo PIN di verifica per le restrizioni.

[Android.Runtime.Register("setRestrictionsChallenge", "(Ljava/lang/String;)Z", "GetSetRestrictionsChallenge_Ljava_lang_String_Handler")]
[System.Obsolete("deprecated")]
public virtual bool SetRestrictionsChallenge(string? newPin);
[<Android.Runtime.Register("setRestrictionsChallenge", "(Ljava/lang/String;)Z", "GetSetRestrictionsChallenge_Ljava_lang_String_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member SetRestrictionsChallenge : string -> bool
override this.SetRestrictionsChallenge : string -> bool

Parametri

newPin
String

PIN da usare per le finestre di dialogo di verifica.

Valori restituiti

Restituisce true se il PIN di verifica è stato impostato correttamente.

Attributi

Commenti

Imposta un nuovo PIN di verifica per le restrizioni. Questo è solo per l'uso da parte delle app preinstallate e richiede l'autorizzazione MANAGE_USERS.

Questo membro è deprecato. La funzionalità PIN delle restrizioni non è più fornita dal sistema. Questo metodo viene mantenuto per motivi di compatibilità con le versioni precedenti e restituisce sempre false.

per android.os.UserManager.setRestrictionsChallenge(java.lang.String).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a