DropBoxManager.Entry Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DropBoxManager.Entry(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
DropBoxManager.Entry(String, Int64) |
Create a new empty Entry with no contents. |
DropBoxManager.Entry(String, Int64, String) |
Create a new Entry with plain text contents. |
DropBoxManager.Entry(String, Int64, ParcelFileDescriptor, DropBoxManagerFlags) |
Create a new Entry with streaming data contents. |
DropBoxManager.Entry(String, Int64, File, DropBoxManagerFlags) |
Create a new Entry with the contents read from a file. |
DropBoxManager.Entry(String, Int64, Byte[], DropBoxManagerFlags) |
Create a new Entry with byte array contents. |
DropBoxManager.Entry(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected Entry (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.OS.DropBoxManager.Entry : nativeint * Android.Runtime.JniHandleOwnership -> Android.OS.DropBoxManager.Entry
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
DropBoxManager.Entry(String, Int64)
Create a new empty Entry with no contents.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;J)V", "")]
public Entry (string tag, long millis);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;J)V", "")>]
new Android.OS.DropBoxManager.Entry : string * int64 -> Android.OS.DropBoxManager.Entry
Parameters
- tag
- String
- millis
- Int64
- Attributes
Remarks
Create a new empty Entry with no contents.
Java documentation for android.os.DropBoxManager.Entry.DropBoxManager$Entry(java.lang.String, long)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
DropBoxManager.Entry(String, Int64, String)
Create a new Entry with plain text contents.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;JLjava/lang/String;)V", "")]
public Entry (string tag, long millis, string text);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;JLjava/lang/String;)V", "")>]
new Android.OS.DropBoxManager.Entry : string * int64 * string -> Android.OS.DropBoxManager.Entry
Parameters
- tag
- String
- millis
- Int64
- text
- String
- Attributes
Remarks
Create a new Entry with plain text contents.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
DropBoxManager.Entry(String, Int64, ParcelFileDescriptor, DropBoxManagerFlags)
Create a new Entry with streaming data contents.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;JLandroid/os/ParcelFileDescriptor;I)V", "")]
public Entry (string tag, long millis, Android.OS.ParcelFileDescriptor? data, Android.OS.DropBoxManagerFlags flags);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;JLandroid/os/ParcelFileDescriptor;I)V", "")>]
new Android.OS.DropBoxManager.Entry : string * int64 * Android.OS.ParcelFileDescriptor * Android.OS.DropBoxManagerFlags -> Android.OS.DropBoxManager.Entry
Parameters
- tag
- String
- millis
- Int64
- data
- ParcelFileDescriptor
- flags
- DropBoxManagerFlags
- Attributes
Remarks
Create a new Entry with streaming data contents. Takes ownership of the ParcelFileDescriptor.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
DropBoxManager.Entry(String, Int64, File, DropBoxManagerFlags)
Create a new Entry with the contents read from a file.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;JLjava/io/File;I)V", "")]
public Entry (string tag, long millis, Java.IO.File data, Android.OS.DropBoxManagerFlags flags);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;JLjava/io/File;I)V", "")>]
new Android.OS.DropBoxManager.Entry : string * int64 * Java.IO.File * Android.OS.DropBoxManagerFlags -> Android.OS.DropBoxManager.Entry
Parameters
- tag
- String
- millis
- Int64
- data
- File
- flags
- DropBoxManagerFlags
- Attributes
Exceptions
Remarks
Create a new Entry with the contents read from a file. The file will be read when the entry's contents are requested.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
DropBoxManager.Entry(String, Int64, Byte[], DropBoxManagerFlags)
Create a new Entry with byte array contents.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;J[BI)V", "")]
public Entry (string tag, long millis, byte[]? data, Android.OS.DropBoxManagerFlags flags);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;J[BI)V", "")>]
new Android.OS.DropBoxManager.Entry : string * int64 * byte[] * Android.OS.DropBoxManagerFlags -> Android.OS.DropBoxManager.Entry
Parameters
- tag
- String
- millis
- Int64
- data
- Byte[]
- flags
- DropBoxManagerFlags
- Attributes
Remarks
Create a new Entry with byte array contents. The data array must not be modified after creating this entry.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.