Top | ![]() |
![]() |
![]() |
![]() |
void | AccessibleStreamableContent_freeContentTypesList () |
void | AccessibleStreamableContent_ref () |
void | AccessibleStreamableContent_unref () |
char ** | AccessibleStreamableContent_getContentTypes () |
SPIBoolean | AccessibleStreamableContent_open () |
long | AccessibleStreamableContent_seek () |
SPIBoolean | AccessibleStreamableContent_read () |
SPIBoolean | AccessibleStreamableContent_close () |
void AccessibleStreamableContent_freeContentTypesList (AccessibleStreamableContent *obj
,char **content_types
);
Free the memory associated with a call to AccessibleStreamableContent_getContentTypes, once the result has been used.
obj |
the AccessibleStreamableContent implementor on which to operate. |
|
content_types |
a list of content types previously returned by AccessibleStreamableContent_getContentTypes. |
Since AT-SPI 1.4
void
AccessibleStreamableContent_ref (AccessibleStreamableContent *obj
);
Increment the reference count for an AccessibleStreamableContent object.
Since
: AT-SPI 1.4
void
AccessibleStreamableContent_unref (AccessibleStreamableContent *obj
);
Decrement the reference count for an AccessibleStreamableContent object.
Since
: AT-SPI 1.4
char **
AccessibleStreamableContent_getContentTypes
(AccessibleStreamableContent *obj
);
Get a list of strings containing the content mimetypes available from an AccessibleStreamableContent implementor.
Since
: AT-SPI 1.4
SPIBoolean AccessibleStreamableContent_open (AccessibleStreamableContent *obj
,const char *content_type
);
Open a streaming connection to an AccessibleStreamableContent implementor, of a particular content type. Note that a client may only have one open stream per streamable interface instance in the current implementation.
Since
: AT-SPI 1.4
obj |
a pointer to the AccessibleStreamableContent implementor on which to operate. |
|
content_type |
a string specifying the content type to retrieve (should match one
of the return strings from |
long AccessibleStreamableContent_seek (AccessibleStreamableContent *obj
,long int offset
,AccessibleStreamableContentSeekType seek_type
);
Cause the current streamable content connection (obtained via
AccessibleStreamableContent_open()
) to seek to a particular offset in the
stream.
Since
: AT-SPI 1.4
SPIBoolean AccessibleStreamableContent_read (AccessibleStreamableContent *obj
,void *buff
,long int nbytes
,unsigned int read_type
);
Copy (read) bytes from the currently open streamable content connection to a buffer. This is a blocking API, in the sense that it does not return until the bytes have been read, or an error condition is detected.
Since
: AT-SPI 1.4
obj |
a pointer to the AccessibleStreamableContent implementor on which to operate. |
|
buff |
a pointer to a buffer into which the resulting bytes read from the stream are to be written. |
|
nbytes |
a long integer indicating the number of bytes to read/write. |
|
read_type |
currently unused, specifies behavior of reads for streamed content if blocking is not allowed, etc. |
SPIBoolean
AccessibleStreamableContent_close (AccessibleStreamableContent *obj
);
Close the current streaming connection to an AccessibleStreamableContent implementor. This must be called before any subsequent AccessibleStreamableContent_open calls on the same object.
Since
: AT-SPI 1.4