Documentation ¶
Overview ¶
Package android contains code specific to running the Camlistore client code as a child process on Android. This removes ugly API from the client package itself.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsChild ¶
func IsChild() bool
IsChild reports whether this process is running as an Android child process and should report its output in the form that the Android uploader app expects.
func NoteFileUploaded ¶
NoteFileUploaded is a hook for camput to report that a file was uploaded. TODO: move this to pkg/client/android probably.
Types ¶
type StatsTransport ¶
type StatsTransport struct {
Rt http.RoundTripper
}
type StatusReceiver ¶
type StatusReceiver struct { Sr blobserver.StatReceiver Path string }
androidStatusReceiver is a blobserver.StatReceiver wrapper that reports the full filename path and size of uploaded blobs. The android app wrapping camput watches stdout for this, for progress bars.
func (StatusReceiver) ReceiveBlob ¶
Click to show internal directories.
Click to hide internal directories.