Added in API level Baklava
TetheringRequest
class TetheringRequest : Parcelable
kotlin.Any | |
↳ | android.net.TetheringManager.TetheringRequest |
Use with startTethering
to specify additional parameters when starting tethering.
Summary
Nested classes | |
---|---|
Builder used to create TetheringRequest. |
Inherited constants | |
---|---|
Public methods | |
---|---|
Int | |
SoftApConfiguration? |
Get the desired SoftApConfiguration of the request, if one was specified. |
Unit |
writeToParcel(dest: Parcel, flags: Int) Flatten this object in to a Parcel. |
Properties | |
---|---|
static Parcelable.Creator<TetheringManager.TetheringRequest!> |
Public methods
describeContents
Added in API level Baklava
fun describeContents(): Int
Return | |
---|---|
Int |
a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or android.os.Parcelable#CONTENTS_FILE_DESCRIPTOR |
getSoftApConfiguration
Added in API level Baklava
fun getSoftApConfiguration(): SoftApConfiguration?
Get the desired SoftApConfiguration of the request, if one was specified.
Return | |
---|---|
SoftApConfiguration? |
This value may be null . |
writeToParcel
Added in API level Baklava
fun writeToParcel(
dest: Parcel,
flags: Int
): Unit
Flatten this object in to a Parcel.
Parameters | |
---|---|
dest |
Parcel: This value cannot be null . |
flags |
Int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE . Value is either 0 or a combination of android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE , and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES |
Properties
CREATOR
Added in API level Baklava
static val CREATOR: Parcelable.Creator<TetheringManager.TetheringRequest!>