Hierarchy

  • ISMSReceiver

Properties

callback: ((e?: { senderNumber: string; smsBody: string }) => void)

Type declaration

    • (e?: { senderNumber: string; smsBody: string }): void
    • Set or get this function to read the sms content and number.

      Parameters

      • Optional e: { senderNumber: string; smsBody: string }
        • senderNumber: string
        • smsBody: string

      Returns void

Methods

  • Call this function when you no longer want to receiver SMS Messages

    Returns void

  • Register a Sms-BroadcastReceiver to be run in the main activity thread. This needs Permissions.android#sms permission.

    Returns void

Generated using TypeDoc