| java.lang.Object | ||
| ↳ | com.urbanairship.AirshipComponent | |
| ↳ | com.urbanairship.ChannelCapture | |
ChannelCapture detects a knock when the application is foregrounded 6 times in 30 seconds.
When a knock is detected, it writes the channel ID to the clipboard as ua:
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.urbanairship.AirshipComponent
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean | isEnabled() | ||||||||||
| void |
setEnabled(boolean enabled)
Sets channel capture enabled
| ||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void |
init()
Initialize the manager.
| ||||||||||
| void |
tearDown()
Tear down the manager.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Returns true if channel capture is enabled, channelCaptureEnabled
is set to true, otherwise false.
true if channel capture is enabled, otherwise false.
Sets channel capture enabled
| enabled | true to enable channel capture, false to disable.
|
|---|