Home
RECOMMENDED FOR YOU:
SMS Gateway software
Ozeki brings you outstanding
SMS Gateway technology. Use our SMS Server products on Windows,Linux, or Android

C# SMS API
Developers can use our C# SMS API to send SMS from C#.Net. The C# SMS API comes with full source code

PHP SMS API
The ozeki PHP SMS gateway software can be used to send SMS from PHP and to receive SMS usig PHP on your website

SMPP SMS Gateway
SMS service providers use our SMPP gateway solution, that offers a high performance SMPP server and SMPP client gateway with amazing routing capabilities
Ozeki Phone System

OzCamera.getCameraByIndex(index) method

It is a stand alone static method, you do not need to create an object in the OzCamera class to use it. As a fact you can not use it on an OzCamera object. It returns a new Camera object or null if the given index is not present in the array.

Parameters

index: Type: number. The index of the camera in the array returned by function getNames e.g. 1

Returns

camera: Type: ?Camera. A new Camera object or null if the given index is not present in the array.

Method usage example

This example shows how to write out the the first camera's name on the console (Code example 1).

console.log(OzCamera.getCameraByIndex(0));
	
Code example 1 - OzCamera.getCameraByIndex(index) method example

More information