Android-cuttlefish cvd tool
Public Types | Public Member Functions | Public Attributes | List of all members
cuttlefish::CallService::CallStatus Struct Reference
Collaboration diagram for cuttlefish::CallService::CallStatus:
Collaboration graph
[legend]

Public Types

enum  CallState {
  CALL_STATE_ACTIVE = 0 , CALL_STATE_HELD , CALL_STATE_DIALING , CALL_STATE_ALERTING ,
  CALL_STATE_INCOMING , CALL_STATE_WAITING , CALL_STATE_HANGUP
}
 

Public Member Functions

 CallStatus ()
 
 CallStatus (const std::string_view number)
 
bool isCallBackground ()
 
bool isCallActive ()
 
bool isCallDialing ()
 
bool isCallIncoming ()
 
bool isCallWaiting ()
 
bool isCallAlerting ()
 
bool SetCallBackground ()
 
bool SetCallActive ()
 

Public Attributes

CallState call_state
 
bool is_mobile_terminated
 
bool is_international
 
bool is_voice_mode
 
bool is_multi_party
 
bool is_remote_call
 
std::optional< ClientIdremote_client
 
std::optional< int32_t > timeout_serial
 
std::string number
 
bool can_present_number
 

Member Enumeration Documentation

◆ CallState

Enumerator
CALL_STATE_ACTIVE 
CALL_STATE_HELD 
CALL_STATE_DIALING 
CALL_STATE_ALERTING 
CALL_STATE_INCOMING 
CALL_STATE_WAITING 
CALL_STATE_HANGUP 

Constructor & Destructor Documentation

◆ CallStatus() [1/2]

cuttlefish::CallService::CallStatus::CallStatus ( )
inline

◆ CallStatus() [2/2]

cuttlefish::CallService::CallStatus::CallStatus ( const std::string_view  number)
inline

Member Function Documentation

◆ isCallActive()

bool cuttlefish::CallService::CallStatus::isCallActive ( )
inline

◆ isCallAlerting()

bool cuttlefish::CallService::CallStatus::isCallAlerting ( )
inline

◆ isCallBackground()

bool cuttlefish::CallService::CallStatus::isCallBackground ( )
inline

◆ isCallDialing()

bool cuttlefish::CallService::CallStatus::isCallDialing ( )
inline

◆ isCallIncoming()

bool cuttlefish::CallService::CallStatus::isCallIncoming ( )
inline

◆ isCallWaiting()

bool cuttlefish::CallService::CallStatus::isCallWaiting ( )
inline

◆ SetCallActive()

bool cuttlefish::CallService::CallStatus::SetCallActive ( )
inline

◆ SetCallBackground()

bool cuttlefish::CallService::CallStatus::SetCallBackground ( )
inline

Member Data Documentation

◆ call_state

CallState cuttlefish::CallService::CallStatus::call_state

◆ can_present_number

bool cuttlefish::CallService::CallStatus::can_present_number

◆ is_international

bool cuttlefish::CallService::CallStatus::is_international

◆ is_mobile_terminated

bool cuttlefish::CallService::CallStatus::is_mobile_terminated

◆ is_multi_party

bool cuttlefish::CallService::CallStatus::is_multi_party

◆ is_remote_call

bool cuttlefish::CallService::CallStatus::is_remote_call

◆ is_voice_mode

bool cuttlefish::CallService::CallStatus::is_voice_mode

◆ number

std::string cuttlefish::CallService::CallStatus::number

◆ remote_client

std::optional<ClientId> cuttlefish::CallService::CallStatus::remote_client

◆ timeout_serial

std::optional<int32_t> cuttlefish::CallService::CallStatus::timeout_serial

The documentation for this struct was generated from the following file: