Pattern Lock Extension : Protect user's privacy ๐Ÿ”’

Write a short description

A pattern lock view to make pattern lock pass :lock:.

Add a picture of all the blocks

Instructions to use your extension

No instructions :wink:. :smiley: just check the docs, demo blocks, demo aia and demo apk.

Docs

Docs for: PatternLock

Events

PatternDrawingStarted

Triggers when user starts drawing pattern.

PatternProgressed

Triggers when user has changed the pattern while drawing.
Params

patternInString | text


PatternCompleted

Triggers when user completes the pattern. Use the patternInString to save this pattern and compare in future use.
Params

patternInString | text


PatternCleared

Triggers when the pattern is cleared successfully.

Methods

SetupPatternLockView

Returns the sum of the given list of integers.
Params

arrangement | component


Properties

PathEndAnimationDuration

Get the property set for path end animation duration.

Property Type : read-write
Accepts : number


TactileFeedbackEnabled

Get the property set for tactile feedback enabled.

Property Type : read-write
Accepts : boolean


DotAnimationDuration

Get the property set for dot animation duration.

Property Type : read-write
Accepts : number


DotSelectedSize

Get the property set for dot selected size.

Property Type : read-write
Accepts : number


WrongStateColor

Get the property set for wrong state color.

Property Type : read-write
Accepts : number


InputEnabled

Get the property set for input enabled.

Property Type : read-write
Accepts : boolean


PATTERN_VIEW_MODE_CORRECT

This state represents a correctly drawn pattern by the user. The color of the path and the dots both would be changed to this color.

Property Type : read-only
Accepts : number


PatternViewMode

Get the property set for pattern view mode.

Property Type : read-write
Accepts : number


StealthMode

Get the property set for stealth mode.

Property Type : read-write
Accepts : boolean


PATTERN_VIEW_MODE_WRONG

This state represents a wrongly drawn pattern by the user. The color of the path and the dots both would be changed to this color.

Property Type : read-only
Accepts : number


NormalStateColor

Get the property set for normal state color.

Property Type : read-write
Accepts : number


PathWidth

Get the property set for path width.

Property Type : read-write
Accepts : number


CorrectStateColor

Get the property set for correct state color.

Property Type : read-write
Accepts : number


DotCount

Get the property set for dot count.

Property Type : read-write
Accepts : number


PATTERN_VIEW_MODE_DEMO

Automatically draw the pattern for demo or tutorial purposes.

Property Type : read-only
Accepts : number


DotNormalSize

Get the property set for dot normal size.

Property Type : read-write
Accepts : number


Docs for: PatternLock

Events

PatternDrawingStarted

Triggers when user starts drawing pattern.

PatternProgressed

Triggers when user has changed the pattern while drawing.
Params

patternInString | text


PatternCompleted

Triggers when user completes the pattern. Use the patternInString to save this pattern and compare in future use.
Params

patternInString | text


PatternCleared

Triggers when the pattern is cleared successfully.

Methods

SetupPatternLockView

Returns the sum of the given list of integers.
Params

arrangement | component


ClearPattern

Clears the current pattern that is set in patter lock view.

Properties

PathEndAnimationDuration

Change the duration of the path end animaiton

Property Type : read-write
Accepts : number


TactileFeedbackEnabled

Enables vibration feedback when the pattern is drawn.

Property Type : read-write
Accepts : boolean


DotAnimationDuration

Change the duration of the animating dots.

Property Type : read-write
Accepts : number


DotSelectedSize

Change the size of the dots in selected state.

Property Type : read-write
Accepts : number


WrongStateColor

Set the color of the pattern view in wrong state.

Property Type : read-write
Accepts : number


InputEnabled

Disables any input from the pattern lock view completely.

Property Type : read-write
Accepts : boolean


PATTERN_VIEW_MODE_CORRECT

This state represents a correctly drawn pattern by the user. The color of the path and the dots both would be changed to this color.

Property Type : read-only
Accepts : number


PatternViewMode

Set the current view mode.

Property Type : read-write
Accepts : number


StealthMode

Set the pattern in stealth mode (pattern drawing is hidden).

Property Type : read-write
Accepts : boolean


PATTERN_VIEW_MODE_WRONG

This state represents a wrongly drawn pattern by the user. The color of the path and the dots both would be changed to this color.

Property Type : read-only
Accepts : number


NormalStateColor

Set the color of the pattern view in normal state.

Property Type : read-write
Accepts : number


PathWidth

Change the width of the path.

Property Type : read-write
Accepts : number


CorrectStateColor

Set the color of the pattern view in correct state.

Property Type : read-write
Accepts : number


DotCount

Change the no.of dots in a row (or column).

Property Type : read-write
Accepts : number


PATTERN_VIEW_MODE_DEMO

Automatically draw the pattern for demo or tutorial purposes.

Property Type : read-only
Accepts : number


DotNormalSize

Get the property set for dot normal size.

Property Type : read-write
Accepts : number


Demo Blocks

Screen - Screen1 -

Screen - check -

Screen - save -
blocks

Aia - patternlock.aia (30.5 KB)
Apk - patternlock.apk (5.2 MB)

Demo Video

Download link

com.aktech.patternlock.aix (25.0 KB)

Credits

This extension is based on the pattern lock view library by Aritra Roy

26 Likes

Always contributing to our community the best you canโ€ฆ :+1: โ€ฆ

Keep supporting โ€ฆ Take my love
:heart:

1 Like

Legendary extension

2 Likes

Thank you @Still-learning

Thank you !!

2 Likes

Extensรฃo muito legal. Parabรฉns

1 Like

Thank you @zcorptecnologiabr

1 Like

This post was flagged by the community and is temporarily hidden.

1 Like

Great extension

1 Like

please add text also

Thank you so much

wdym by this?

Great extension
:heart_eyes: :heart_eyes:

2 Likes

Thank you @RAMDO :smiley:

1 Like

Awesome extension

1 Like

Thank you @OM_Lodhi

thank uuuuuuuuuuuu