コード例 #1
0
		protected override void OnCreate (Bundle savedInstanceState)
		{
			base.OnCreate (savedInstanceState);
			fingerprintModule = new FingerprintModule(this);
			mKeyguardManager = fingerprintModule.ProvidesKeyguardManager (this);
			mKeyStore = fingerprintModule.ProvidesKeystore ();
			mKeyGenerator = fingerprintModule.ProvidesKeyGenerator ();
			mCipher = fingerprintModule.ProvidesCipher (mKeyStore);

			RequestPermissions (new [] { Manifest.Permission.UseFingerprint }, 0);
		}
コード例 #2
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            fingerprintModule = new FingerprintModule(this);
            mKeyguardManager  = fingerprintModule.ProvidesKeyguardManager(this);
            mKeyStore         = fingerprintModule.ProvidesKeystore();
            mKeyGenerator     = fingerprintModule.ProvidesKeyGenerator();
            mCipher           = fingerprintModule.ProvidesCipher(mKeyStore);

            RequestPermissions(new [] { Manifest.Permission.UseFingerprint }, FINGERPRINT_PERMISSION_REQUEST_CODE);
        }
コード例 #3
0
 public override void OnCreate()
 {
     base.OnCreate();
     FingerprintModule = new FingerprintModule(this);
 }
コード例 #4
0
		public override void OnCreate() {
			base.OnCreate();
			FingerprintModule = new FingerprintModule (this);
		}