Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(mobile-accessibility): change signature references to the correct methods #2139

Merged
merged 1 commit into from
Dec 2, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions src/@ionic-native/plugins/mobile-accessibility/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ export class MobileAccessibility extends IonicNativePlugin {
* @returns {Promise<boolean>} A result method to receive the boolean result asynchronously from the native MobileAccessibility plugin.
*/
@Cordova({ platforms: ['iOS'] })
isVoiceOverRunningCallback(): Promise<boolean> { return; }
isVoiceOverRunning(): Promise<boolean> { return; }

/**
* An Android/Amazon Fire OS-specific proxy for the MobileAccessibility.isScreenReaderRunning method.
* @returns {Promise<boolean>} A result method to receive the boolean result asynchronously from the native MobileAccessibility plugin.
*/
@Cordova({ platforms: ['Amazon Fire OS', 'Android'] })
isTalkBackRunningCallback(): Promise<boolean> { return; }
isTalkBackRunning(): Promise<boolean> { return; }

/**
* On Android, this method returns true if ChromeVox is active and properly initialized with access to the text to speech API in the WebView.
Expand All @@ -85,98 +85,98 @@ export class MobileAccessibility extends IonicNativePlugin {
* @returns {Promise<boolean>} Returns the result
*/
@Cordova({ platforms: ['iOS'] })
isBoldTextEnabledCallback(): Promise<boolean> { return; }
isBoldTextEnabled(): Promise<boolean> { return; }

/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova()
isClosedCaptioningEnabledCallback(): Promise<boolean> { return; }
isClosedCaptioningEnabled(): Promise<boolean> { return; }

/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova({ platforms: ['iOS'] })
isDarkerSystemColorsEnabledCallback(): Promise<boolean> { return; }
isDarkerSystemColorsEnabled(): Promise<boolean> { return; }

/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova({ platforms: ['iOS'] })
isGrayscaleEnabledCallback(): Promise<boolean> { return; }
isGrayscaleEnabled(): Promise<boolean> { return; }

/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova({ platforms: ['iOS'] })
isGuidedAccessEnabledCallback(): Promise<boolean> { return; }
isGuidedAccessEnabled(): Promise<boolean> { return; }

/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova({ platforms: ['iOS'] })
isInvertColorsEnabledCallback(): Promise<boolean> { return; }
isInvertColorsEnabled(): Promise<boolean> { return; }

/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova({ platforms: ['iOS'] })
isMonoAudioEnabledCallback(): Promise<boolean> { return; }
isMonoAudioEnabled(): Promise<boolean> { return; }

/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova({ platforms: ['iOS'] })
isReduceMotionEnabledCallback(): Promise<boolean> { return; }
isReduceMotionEnabled(): Promise<boolean> { return; }

/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova({ platforms: ['iOS'] })
isReduceTransparencyEnabledCallback(): Promise<boolean> { return; }
isReduceTransparencyEnabled(): Promise<boolean> { return; }

/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova({ platforms: ['iOS'] })
isSpeakScreenEnabledCallback(): Promise<boolean> { return; }
isSpeakScreenEnabled(): Promise<boolean> { return; }

/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova({ platforms: ['iOS'] })
isSpeakSelectionEnabledCallback(): Promise<boolean> { return; }
isSpeakSelectionEnabled(): Promise<boolean> { return; }

/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova({ platforms: ['iOS'] })
isSwitchControlRunningCallback(): Promise<boolean> { return; }
isSwitchControlRunning(): Promise<boolean> { return; }

/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova({ platforms: ['Amazon Fire OS', 'Android'] })
isTouchExplorationEnabledCallback(): Promise<boolean> { return; }
isTouchExplorationEnabled(): Promise<boolean> { return; }

/**
*
* * @returns {Promise<number>} Returns the result
*/
@Cordova()
getTextZoomCallback(): Promise<number> { return; }
getTextZoom(): Promise<number> { return; }

/**
* @param textZoom {number} A percentage value by which text in the WebView should be scaled.
Expand Down