Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
checkAvailable: function() {
return Tp.Availability.AVAILABLE;
},
});
checkAvailable() {
return Tp.Availability.AVAILABLE;
}
checkAvailable: function() {
if (this.own && this.tier === this._tierManager.ownTier)
return Tp.Availability.AVAILABLE;
else if (this.tier === Tp.Tier.GLOBAL)
return Tp.Availability.AVAILABLE;
else if (this.own)
return (this._tierManager.isConnected(this.tier) ?
Tp.Availability.AVAILABLE :
Tp.Availability.UNAVAILABLE);
else if (this.engine.messaging.isAvailable)
return Tp.Availability.AVAILABLE;
else
return Tp.Availability.UNAVAILABLE;
},
checkAvailable() {
return Tp.Availability.AVAILABLE;
},
checkAvailable() {
if (Tp.Tier.PHONE === this._tierManager.ownTier) {
return Tp.Availability.AVAILABLE;
} else {
return (this._tierManager.isConnected(Tp.Tier.PHONE) ?
Tp.Availability.AVAILABLE :
Tp.Availability.OWNER_UNAVAILABLE);
}
}
checkAvailable() {
return Tp.Availability.AVAILABLE;
}
checkAvailable() {
if (Tp.Tier.SERVER === this._tierManager.ownTier) {
return Tp.Availability.AVAILABLE;
} else {
return (this._tierManager.isConnected(Tp.Tier.SERVER) ?
Tp.Availability.AVAILABLE :
Tp.Availability.OWNER_UNAVAILABLE);
}
}
checkAvailable: function() {
return Tp.Availability.AVAILABLE;
},
return btApi.readUUIDs(this.hwAddress).then((uuids) => {
if (uuids !== null)
return Tp.Availability.AVAILABLE;
else
return Tp.Availability.UNAVAILABLE;
});
}
checkAvailable: function() {
return Tp.Availability.AVAILABLE;
}
});