package Ġcom . tap track . car rot . k ios k control Ċ Ċ sealed Ġclass ĠK ios k Status Ġ{ ĊĠĠĠ Ġobject ĠConnect ing : ĠK ios k Status () ĊĠĠĠ Ġobject ĠHeart beat Good : ĠK ios k Status () ĊĠĠĠ Ġobject ĠHeart beat Failure : ĠK ios k Status () ĊĠĠĠ Ġobject ĠDis connecting : ĠK ios k Status () ĊĠĠĠ Ġobject ĠClosed : ĠK ios k Status () ĊĠĠĠ Ġobject ĠUnknown : ĠK ios k Status () Ċ } Ċ Ċ interface ĠK ios k Status Listener { ĊĠĠĠ Ġfun Ġon K ios k Status Update ( status : ĠK ios k Status ) Ċ } Ċ Ċ interface ĠK ios k Heartbeat Listener Ġ{ ĊĠĠĠ Ġfun Ġon Heartbeat Received ( time Received : ĠLong ) Ċ } Ċ Ċ interface ĠT appy K ios k Ġ{ ĊĠĠĠ Ġfun ĠgetId (): ĠString ĊĠĠĠ Ġfun ĠgetName (): ĠString ĊĠĠĠ Ġfun Ġrequest Close () ĊĠĠĠ Ġfun Ġadd Status Listener ( k ios k Status Listener : ĠK ios k Status Listener ) ĊĠĠĠ Ġfun Ġremove Status Listener ( k ios k Status Listener : ĠK ios k Status Listener ) ĊĠĠĠ Ġfun Ġadd Heartbeat Listener ( heartbeat Listener : ĠK ios k Heartbeat Listener ) ĊĠĠĠ Ġfun Ġremove Heartbeat Listener ( heartbeat Listener : ĠK ios k Heartbeat Listener ) Ċ }