Freigeben über


CustomProtectedInputStream class

This class implements a wrapper of the input stream allowing writing of a custom RMS protected output stream. Custom denotes that it is more configurable than the default protected input stream, also CustomProtectedInputStream requires a user policy as an input.

Signature

public class CustomProtectedInputStream extends InputStream

CustomProtectedInputStream extends Android's base class. For information on base class methods see, InputStream.

Methods

Name Description
create asynchronous
Asynchronously creates an input stream for reading protected content.
create synchronous
Synchronously creates an input stream for reading protected content.
getUserPolicy
Gets the user policy associated with the stream.

Defined in

CustomProtectedInputStream.java

Supported Platforms

Minimum supported OS version
Android 4.0.3 (API level 15)

Package

com.microsoft.rightsmanagement

Thread Safety

Members of this class are not guaranteed to be thread safe.

See also

Android API Reference

Developer guidance and terms

Get started