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
Exibir arquivo Open project: googlesamples/unity-credentials

Public Methods

Method 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 method

public Delete ( ICredential credential, ICredential>.System callback ) : void
credential ICredential
callback ICredential>.System
return void

Load() public method

public Load ( ICredential>.System callback ) : void
callback ICredential>.System
return void

Save() public method

public Save ( ICredential credential, ICredential>.System callback ) : void
credential ICredential
callback ICredential>.System
return void

SetSampleCredential() public static method

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