Neonode zForce(TM) SDK

Classes | Functions
FloatingProtectionMessage.h File Reference

A FloatingProtectionMessage configures the floating protection for the device. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
struct | FloatingProtectionMessage
| This structure represents a floating protection message. More...

## Functions
DLLINTERNAL FloatingProtectionMessage * | FloatingProtectionMessage_New (MessageGroup messageGroup, uint32_t size)
| Internal constructor for FloatingProtectionMessage. More...

## Detailed Description

A FloatingProtectionMessage configures the floating protection for the device.

Copyright
  COPYRIGHT NOTICE: (c) 2021-2022 Neonode Technologies AB. All rights reserved.

## Function Documentation

## ◆ FloatingProtectionMessage_New()

DLLINTERNAL FloatingProtectionMessage* FloatingProtectionMessage_New | ( | MessageGroup | messageGroup,
|  | uint32_t | size
| ) |  |

Internal constructor for FloatingProtectionMessage.

Internal constructor for FloatingProtectionMessage. Do not use this constructor, always use the factory creator.
On failure, errno is set.

- EOUTOFMEMORY - Out of memory.
- EINVALIDSIZE - Invalid size.

Parameters

  messageGroup | MessageGroup of Message.
  size | If this is used as a base class for another class, set size to non-zero.

Returns
  Pointer to FloatingProtectionMessage.