FastAndroidCamera Extends the class with methods that take instances as parameters instead of raw values. Adds a pre-allocated buffer to the preview callback buffer queue. Applications can add one or more buffers to the queue. When a preview frame arrives and there is still at least one available buffer, the buffer will be used and removed from the queue. Then preview callback is invoked with the buffer. If a frame arrives and there is no buffer left, the frame is discarded. Applications should add buffers back when they finish processing the data in them. Camera object. The buffer to add to the queue. Installs a callback to be invoked for every preview frame in addition to displaying them on the screen. The callback will provide a reference to the Java array instead of copying it into a new CLR array. The callback will be repeatedly called for as long as preview is active. This method can be called at any time, even while preview is live. Any other preview callbacks are overridden. Camera object. A callback object that receives a copy of each preview frame, or null to stop receiving callbacks. Installs a callback to be invoked for every preview frame, using buffers supplied with (FastJavaByteArray), in addition to displaying them on the screen. The callback will be repeatedly called for as long as preview is active and buffers are available. Any other preview callbacks are overridden. The purpose of this method is to improve preview efficiency and frame rate by allowing preview frame memory reuse.You must call (FastJavaByteArray) at some point -- before or after calling this method -- or no callbacks will received. The buffer queue will be cleared if this method is called with a null callback, or if (Camera.PreviewCallback), (INonMarshalingPreviewCallback), (Camera.PreviewCallback), or is called. Camera object. A callback object that receives a copy of the preview frame, or null to stop receiving callbacks and clear the buffer queue. Callback interface used to deliver references to Java arrays containing preview frames as they are displayed. Called as preview frames are displayed. This callback is invoked on the event thread was called from. The contents of the preview frame in the format defined by , which can be queried with . If is never set, the default will be the YCbCr_420_SP (NV21) format. The Camera service object. A wrapper around a Java array that reads elements directly from the pointer instead of through expensive JNI calls. Creates a new FastJavaByteArray with the given number of bytes reserved. Number of bytes to reserve Creates a FastJavaByteArray wrapper around an existing Java/JNI byte array Native Java array handle Whether to consider this byte array read-only Releases unmanaged resources and performs other cleanup operations before the is reclaimed by garbage collection. Releases all resource used by the object. Call when you are finished using the . The method leaves the in an unusable state. After calling , you must release all references to the so the garbage collector can reclaim the memory that the was occupying. Count of bytes Gets a value indicating whether this byte array is read only. true if read only; otherwise, false. Indexer Index of byte Byte at the given index Adds a single byte to the list. Not supported byte to add Not supported Returns true if the item is found int he array Item to find True if the item is found Copies the contents of the FastJavaByteArray into a byte array The array to copy to. The zero-based index into the destination array where CopyTo should start. Retreives enumerator Enumerator Retreives enumerator Enumerator Gets the first index of the given value Item to search for Index of found item Not supported Not supported Not supported Gets the raw pointer to the underlying data. Gets the handle of the Java reference to the array. The handle. Gets the current byte in the collection. Releases all resource used by the object. Call when you are finished using the . The method leaves the in an unusable state. After calling , you must release all references to the so the garbage collector can reclaim the memory that the was occupying. Advances the enumerator to the next element of the collection. true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. Sets the enumerator to its initial position, which is before the first element in the collection. Gets the current element in the collection. The system. collections. IE numerator. current.