LeiaSR SDK 720218b2 v1.32.7.6322 2025-02-13T14:55:38Z
Stable
|
#include "sr/core_c.h"
Go to the source code of this file.
Macros | |
#define | SRAPI |
Typedefs | |
typedef void * | SR_screen |
typedef void * | SR_switchableLensHintAdmin |
Functions | |
SRAPI SR_switchableLensHintAdmin | createSwitchableLensHintAdmin (SRContext context) |
Creates a functional SwitchableLensHintAdmin instance. More... | |
SRAPI void | lensEnableHintAdmin (SR_switchableLensHintAdmin lensAdmin) |
SRAPI void | lensDisableHintAdmin (SR_switchableLensHintAdmin lensAdmin) |
SRAPI void | enableDefaultSwitching (SR_switchableLensHintAdmin lensAdmin) |
SRAPI void | disableByForce (SR_switchableLensHintAdmin lensAdmin) |
SRAPI void | deleteSwitchableLensHintAdmin (SR_switchableLensHintAdmin lensAdmin) |
Cleans up underlying object instances used to facilitate indicating lens switch admin features. More... | |
SRAPI char * | getVersion (SR_switchableLensHintAdmin lensAdmin) |
Get the Version info of the switchable lens. More... | |
SRAPI char * | getSerialNumber (SR_switchableLensHintAdmin lensAdmin) |
Get the Serial Number of the switchable lens. More... | |
SRAPI char * | getAdditionalSerialNumber (SR_switchableLensHintAdmin lensAdmin, unsigned char index) |
Get the Additional Serial Numbers of the switchable lens. More... | |
#define SRAPI |
typedef void* SR_screen |
Copyright (C) 2025 Leia, Inc.
typedef void* SR_switchableLensHintAdmin |
SRAPI SR_switchableLensHintAdmin createSwitchableLensHintAdmin | ( | SRContext | context | ) |
Creates a functional SwitchableLensHintAdmin instance.
context | is the environment in which created senses are kept track of |
SRAPI void deleteSwitchableLensHintAdmin | ( | SR_switchableLensHintAdmin | lensAdmin | ) |
Cleans up underlying object instances used to facilitate indicating lens switch admin features.
lensAdmin | ( void* ) provided by the createSwitchableLensHintAdmin function. |
SRAPI void disableByForce | ( | SR_switchableLensHintAdmin | lensAdmin | ) |
Disable the lens to minimize the effect on the light transmitted through it
SRAPI void enableDefaultSwitching | ( | SR_switchableLensHintAdmin | lensAdmin | ) |
Allows switching the lens such that it affects the light transmitted through it
SRAPI char * getAdditionalSerialNumber | ( | SR_switchableLensHintAdmin | lensAdmin, |
unsigned char | index | ||
) |
Get the Additional Serial Numbers of the switchable lens.
lensAdmin | ( void* ) provided by the createSwitchableLensHintAdmin function. |
index | refers to the number of serial number which can be between 1-4, otherwise it returns "" |
SRAPI char * getSerialNumber | ( | SR_switchableLensHintAdmin | lensAdmin | ) |
Get the Serial Number of the switchable lens.
lensAdmin | ( void* ) provided by the createSwitchableLensHintAdmin function. |
SRAPI char * getVersion | ( | SR_switchableLensHintAdmin | lensAdmin | ) |
Get the Version info of the switchable lens.
lensAdmin | ( void* ) provided by the createSwitchableLensHintAdmin function. |
SRAPI void lensDisableHintAdmin | ( | SR_switchableLensHintAdmin | lensAdmin | ) |
Expresses preference to disable the lens to minimize the effect on the light transmitted through it
SRAPI void lensEnableHintAdmin | ( | SR_switchableLensHintAdmin | lensAdmin | ) |
Expresses preference to enable the lens such that it affects the light transmitted through it