C# Class Google.SmartLock.Platforms.DummySmartLockCredentials

Dummy smart lock credentials. Is used on non-Android players since the API is only supported on Android. Sample credential can be set statically using SetSampleCredential().
Inheritance: ISmartLockCredentialsImpl
Afficher le fichier Open project: googlesamples/unity-credentials

Méthodes publiques

Méthode Description
Delete ( ICredential credential, ICredential>.System callback ) : void
Load ( ICredential>.System callback ) : void
Save ( ICredential credential, ICredential>.System callback ) : void
SetSampleCredential ( ICredential newCredential ) : ICredential

Sets the sample credential to return when calling Load.

Method Details

Delete() public méthode

public Delete ( ICredential credential, ICredential>.System callback ) : void
credential ICredential
callback ICredential>.System
Résultat void

Load() public méthode

public Load ( ICredential>.System callback ) : void
callback ICredential>.System
Résultat void

Save() public méthode

public Save ( ICredential credential, ICredential>.System callback ) : void
credential ICredential
callback ICredential>.System
Résultat void

SetSampleCredential() public static méthode

Sets the sample credential to return when calling Load.
public static SetSampleCredential ( ICredential newCredential ) : ICredential
newCredential ICredential New credential.
Résultat ICredential