JubeatPlus 3.9.11
Loading...
Searching...
No Matches
SettingsPolicyViewController Class Reference

A view controller presenting a downloaded policy/terms document in the settings screen. More...

#include <SettingsPolicyViewController.h>

Inheritance diagram for SettingsPolicyViewController:
Collaboration diagram for SettingsPolicyViewController:

Instance Methods

(instancetype) - initViewController:
 Sets the navigation title for the given policy type and, on iOS 7 and later, opts the layout into extending under opaque bars.
(void) - loadView
 Builds the view: a white background and a non-editable UITextView, then kicks off the signed download of the selected policy document with this controller as its delegate.
(void) - downloaderFinished:
 Loads the downloaded document text into the text view, or a localised network-error message when the response reports a failure or carries no usable policy text.
(void) - downloaderError:
 Shows a localised network-error message in the text view.
Instance Methods inherited from <DownloaderDelegate>
(void) - downloaderProceed:
 Sent periodically as data arrives, and once more on completion.
(void) - downloaderFinished:
 Sent when the request completes.
(void) - downloaderError:
 Sent when the request fails.

Detailed Description

A view controller presenting a downloaded policy/terms document in the settings screen.

Method Documentation

◆ downloaderError:

- (void) downloaderError: (nullable Downloader *) downloader

Shows a localised network-error message in the text view.

Parameters
downloaderThe downloader that failed.
Ghidra address:
0x1d43a4

◆ downloaderFinished:

- (void) downloaderFinished: (nullable Downloader *) downloader

Loads the downloaded document text into the text view, or a localised network-error message when the response reports a failure or carries no usable policy text.

Parameters
downloaderThe downloader that finished.
Ghidra address:
0x1d415c

◆ initViewController:

- (instancetype) initViewController: (SettingsPolicyType) type

Sets the navigation title for the given policy type and, on iOS 7 and later, opts the layout into extending under opaque bars.

Parameters
typeWhich policy document this controller presents.
Returns
The initialised controller.
Ghidra address:
0x1d3bf4
Ghidra address:
0x1d3bf4

◆ loadView

- (void) loadView

Builds the view: a white background and a non-editable UITextView, then kicks off the signed download of the selected policy document with this controller as its delegate.

Ghidra address:
0x1d3d94

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