ChannelInfo

 data 
 class 
 ChannelInfo 
 : 
 AbstractSafeParcelable 

Information used to identify a channel.

Summary

Nested classes

annotation

The type of the channel, indicating whether it was opened by this device, or accepted from a remote device.

Constants

const Int

The channel was opened remotely, and accepted locally.

const Int

The channel was opened locally.

Public constructors

<init> ( channelName : String , channelType : Int )

Information used to identify a channel.

Public methods

Properties

Name of the channel

Type of the channel

Companion properties

Required Parcelable Creator.

Constants

INCOMING_CHANNEL

 const 
 val 
 INCOMING_CHANNEL 
 : 
  Int 
 

The channel was opened remotely, and accepted locally.

Value: 2 

OUTGOING_CHANNEL

 const 
 val 
 OUTGOING_CHANNEL 
 : 
  Int 
 

The channel was opened locally.

Value: 1 

Public constructors

<init>

 ChannelInfo 
 ( 

channelName : String ,
channelType : Int )

Information used to identify a channel.

Public methods

writeToParcel

 fun 
 writeToParcel 
 ( 

dest : Parcel ,
flags : Int
) : Unit

Properties

channelName

 val 
 channelName 
 : 
  String 
 

Name of the channel

channelType

 val 
 channelType 
 : 
  Int 
 

Type of the channel

Companion properties

CREATOR

 val 
 CREATOR 
 : 
  Creator 
 
 < 
  ChannelInfo 
 
 > 

Required Parcelable Creator.

Create a Mobile Website
View Site in Mobile | Classic
Share by: