Working on a widget for alerting something, but I'm hitting a wall here, I'm taking the cod snippet direct from the API docs but I keep getting this error "Undefined symbol "vibeData" detected." Code below.
if (Attention has :vibrate) { vibeData = [ new Attention.VibeProfile(25, 2000), new Attention.VibeProfile(50, 2000), new Attention.VibeProfile(100, 2000) ]; } Attention.vibrate(vibeData);
Apologies if this is a noob question but I really cant find any resources out there to help.