# wpvr/8.5.71/vendor/linno/telemetry/src/Drivers/DriverInterface.php

WPVR – 360 Panorama viewer and Virtual Tour Builder for WordPress, version 8.5.71. 48 lines.

- Page: https://pluginprobe.com/plugins/wpvr/8.5.71/code/vendor/linno/telemetry/src/Drivers/DriverInterface.php
- Raw: https://pluginprobe.com/plugins/wpvr/8.5.71/raw/vendor/linno/telemetry/src/Drivers/DriverInterface.php
- Modified: 2026-04-02T11:52:20+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wpvr/8.5.71/code/vendor/linno/telemetry/src/Drivers/DriverInterface.php#L10-L20`.

```php
<?php
/**
 * Driver Interface for analytics platforms
 *
 * @package LinnoSDK\Telemetry
 * @since 1.0.0
 */

namespace LinnoSDK\Telemetry\Drivers;

/**
 * Interface DriverInterface
 *
 * Defines the contract for analytics platform drivers.
 *
 * @since 1.0.0
 */
interface DriverInterface {
	/**
	 * Send event data to the analytics platform
	 *
	 * @param string $event The event name.
	 * @param array  $properties The event properties.
	 *
	 * @return bool True on success, false on failure.
	 * @since 1.0.0
	 */
	public function send( string $event, array $properties ): bool;

	/**
	 * Set the API key for authentication
	 *
	 * @param string $apiKey The API key.
	 *
	 * @return void
	 * @since 1.0.0
	 */
	public function setApiKey( string $apiKey ): void;

	/**
	 * Get the last error message
	 *
	 * @return string|null The last error message or null if no error.
	 * @since 1.0.0
	 */
	public function getLastError(): ?string;
}

```
