YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.browser.ServerListFragment Class Reference

Activity for browsing devices and folders. More...

Inheritance diagram for de.yaacc.browser.ServerListFragment:
Inheritance graph
Collaboration diagram for de.yaacc.browser.ServerListFragment:
Collaboration graph

Public Member Functions

void onCreate (Bundle savedInstanceState)
 
void onStart ()
 
void onStop ()
 
void onDestroyView ()
 
boolean onBackPressed ()
 The server list is the top of the app: back is not handled here, the activity puts the app in the background (task 12.1).
 
void onRequestPermissionsResult (int requestCode, @androidx.annotation.NonNull String[] permissions, @androidx.annotation.NonNull int[] grantResults)
 
void deviceAdded (Device<?, ?, ?> device)
 Refreshes the shown devices when device is added.
 
void deviceRemoved (Device<?, ?, ?> device)
 Refreshes the shown devices when device is removed.
 
void deviceUpdated (Device<?, ?, ?> device)
 
void receiverDeviceRemoved (Device<?, ?, ?> device)
 
void receiverDeviceAdded (Device<?, ?, ?> device)
 
void onResume ()
 
View onCreateView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
 
void onViewCreated (View view, Bundle savedInstanceState)
 
void onActivityResult (int requestCode, int resultCode, android.content.Intent data)
 
- Public Member Functions inherited from de.yaacc.upnp.UpnpClientListener
- Public Member Functions inherited from de.yaacc.browser.OnBackPressedListener

Detailed Description

Activity for browsing devices and folders.

Represents the entrypoint for the whole application.

Author
Tobias Schoene (the openbit)

Member Function Documentation

◆ deviceAdded()

void de.yaacc.browser.ServerListFragment.deviceAdded ( Device<?, ?, ?> device)

Refreshes the shown devices when device is added.

Implements de.yaacc.upnp.UpnpClientListener.

◆ deviceRemoved()

void de.yaacc.browser.ServerListFragment.deviceRemoved ( Device<?, ?, ?> device)

Refreshes the shown devices when device is removed.

Implements de.yaacc.upnp.UpnpClientListener.

◆ deviceUpdated()

void de.yaacc.browser.ServerListFragment.deviceUpdated ( Device<?, ?, ?> device)

◆ onBackPressed()

boolean de.yaacc.browser.ServerListFragment.onBackPressed ( )

The server list is the top of the app: back is not handled here, the activity puts the app in the background (task 12.1).

The app is not closed by back; the exit button and the idle timer close it.

Returns
false: not consumed

Implements de.yaacc.browser.OnBackPressedListener.

◆ receiverDeviceAdded()

void de.yaacc.browser.ServerListFragment.receiverDeviceAdded ( Device<?, ?, ?> device)

◆ receiverDeviceRemoved()

void de.yaacc.browser.ServerListFragment.receiverDeviceRemoved ( Device<?, ?, ?> device)

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