# SoftBank Robotics documentation What's new in NAOqi 2.8?

# ALRedBallDetection API

NAOqi Vision - Overview | API

Namespace : AL

    #include <alproxies/alredballdetectionproxy.h>

## Method list

class `ALRedBallDetectionProxy`

- As any module, this module inherits methods from ALModule API.
- It also inherits methods from ALExtractor API.

## Event list

- `redBallDetected()`

## Events

Event: `"redBallDetected"`
callback(std::string eventName, AL::ALValue value, std::string subscriberIdentifier)

  Raised when a red ball is detected.

  Parameters: | eventName (std::string) – “redBallDetected” value – Informations related to the detected red ball. Please refer to ALRedBallDetection for details. subscriberIdentifier (std::string) –

Glossary Site map Index Support Contact Legal Notices