getData
Reads and immediately removes the value stored under dataKey — a one-shot read: a second call with the same dataKey before another sendData returns null. The mechanism behind CheckForReceivedData.
Return
the stored value, or null if nothing is currently stored under dataKey.
Parameters
dataKey
key to read.