Java Code Examples for com.facebook.internal.NativeProtocol#NO_PROTOCOL_AVAILABLE

The following examples show how to use com.facebook.internal.NativeProtocol#NO_PROTOCOL_AVAILABLE . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: FacebookDialog.java    From platform-friends-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
private static boolean handleCanPresent(Context context, Iterable<? extends DialogFeature> features) {
    return getProtocolVersionForNativeDialog(context, getMinVersionForFeatures(features))
            != NativeProtocol.NO_PROTOCOL_AVAILABLE;
}
 
Example 2
Source File: FacebookDialog.java    From platform-friends-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
boolean handleCanPresent() {
    return getProtocolVersionForNativeDialog(activity, MIN_NATIVE_SHARE_PROTOCOL_VERSION)
            != NativeProtocol.NO_PROTOCOL_AVAILABLE;
}
 
Example 3
Source File: FacebookDialog.java    From Klyph with MIT License 4 votes vote down vote up
private static boolean handleCanPresent(Context context, Iterable<? extends DialogFeature> features) {
    return getProtocolVersionForNativeDialog(context, getMinVersionForFeatures(features))
            != NativeProtocol.NO_PROTOCOL_AVAILABLE;
}
 
Example 4
Source File: FacebookDialog.java    From Klyph with MIT License 4 votes vote down vote up
boolean handleCanPresent() {
    return getProtocolVersionForNativeDialog(activity, MIN_NATIVE_SHARE_PROTOCOL_VERSION)
            != NativeProtocol.NO_PROTOCOL_AVAILABLE;
}
 
Example 5
Source File: FacebookDialog.java    From barterli_android with Apache License 2.0 4 votes vote down vote up
private static boolean handleCanPresent(Context context, Iterable<? extends DialogFeature> features) {
    return getProtocolVersionForNativeDialog(context, getMinVersionForFeatures(features))
            != NativeProtocol.NO_PROTOCOL_AVAILABLE;
}
 
Example 6
Source File: FacebookDialog.java    From barterli_android with Apache License 2.0 4 votes vote down vote up
boolean handleCanPresent() {
    return getProtocolVersionForNativeDialog(activity, MIN_NATIVE_SHARE_PROTOCOL_VERSION)
            != NativeProtocol.NO_PROTOCOL_AVAILABLE;
}
 
Example 7
Source File: FacebookDialog.java    From android-skeleton-project with MIT License 4 votes vote down vote up
private static boolean handleCanPresent(Context context, Iterable<? extends DialogFeature> features) {
    return getProtocolVersionForNativeDialog(context, getActionForFeatures(features), getMinVersionForFeatures(features))
            != NativeProtocol.NO_PROTOCOL_AVAILABLE;
}
 
Example 8
Source File: FacebookDialog.java    From FacebookImageShareIntent with MIT License 4 votes vote down vote up
private static boolean handleCanPresent(Context context, Iterable<? extends DialogFeature> features) {
    return getProtocolVersionForNativeDialog(context, getActionForFeatures(features), getMinVersionForFeatures(features))
            != NativeProtocol.NO_PROTOCOL_AVAILABLE;
}
 
Example 9
Source File: FacebookDialog.java    From Abelana-Android with Apache License 2.0 4 votes vote down vote up
private static boolean handleCanPresent(Context context, Iterable<? extends DialogFeature> features) {
    return getProtocolVersionForNativeDialog(context, getActionForFeatures(features), getMinVersionForFeatures(features))
            != NativeProtocol.NO_PROTOCOL_AVAILABLE;
}
 
Example 10
Source File: FacebookDialog.java    From KlyphMessenger with MIT License 4 votes vote down vote up
private static boolean handleCanPresent(Context context, Iterable<? extends DialogFeature> features) {
    return getProtocolVersionForNativeDialog(context, getMinVersionForFeatures(features))
            != NativeProtocol.NO_PROTOCOL_AVAILABLE;
}
 
Example 11
Source File: FacebookDialog.java    From KlyphMessenger with MIT License 4 votes vote down vote up
boolean handleCanPresent() {
    return getProtocolVersionForNativeDialog(activity, MIN_NATIVE_SHARE_PROTOCOL_VERSION)
            != NativeProtocol.NO_PROTOCOL_AVAILABLE;
}
 
Example 12
Source File: FacebookDialog.java    From facebook-api-android-maven with Apache License 2.0 4 votes vote down vote up
private static boolean handleCanPresent(Context context, Iterable<? extends DialogFeature> features) {
    return getProtocolVersionForNativeDialog(context, getActionForFeatures(features), getMinVersionForFeatures(features))
            != NativeProtocol.NO_PROTOCOL_AVAILABLE;
}