PkbScreenGuard class
Dart wrapper สำหรับ pkb_screen_guard
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
checkRooted(
) → Future< bool> - ตรวจ rooted/jailbroken ครั้งเดียว
-
disableSecure(
) → Future< void> - Android: ปิด FLAG_SECURE iOS: ไม่มีผล
-
enableSecure(
) → Future< void> - Android: เปิด FLAG_SECURE (ห้าม screenshot + recent preview) iOS: ไม่มีผล (ignored)
-
events(
) → Stream< Map< String, dynamic> > - Stream ของ event จาก native
-
hideOverlay(
) → Future< void> - ซ่อน overlay
-
showOverlay(
) → Future< void> - แสดง overlay ปิดหน้าจอ (จอดำ + ข้อความเตือน)
-
startMonitoring(
) → Future< void> - เริ่ม monitoring (Android + iOS)
-
stopMonitoring(
) → Future< void> - หยุด monitoring